summaryrefslogtreecommitdiff
path: root/src/AS_DCP_MPEG2.cpp
diff options
context:
space:
mode:
authormilla <marc.illa@dolby.com>2021-05-26 13:59:19 +0200
committermilla <marc.illa@dolby.com>2021-06-03 14:05:45 +0200
commitfdd28f8bb3608978e75b27c5410db447396f361b (patch)
tree4fd3e9ff4fa808993214956dd5753f950a6a1e47 /src/AS_DCP_MPEG2.cpp
parentf9d7fbc33aa571c547d916b145712469efd9f4b8 (diff)
Put definitions inside their corresponding namespaces
Diffstat (limited to 'src/AS_DCP_MPEG2.cpp')
-rwxr-xr-xsrc/AS_DCP_MPEG2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/AS_DCP_MPEG2.cpp b/src/AS_DCP_MPEG2.cpp
index 0608abd..3fd979c 100755
--- a/src/AS_DCP_MPEG2.cpp
+++ b/src/AS_DCP_MPEG2.cpp
@@ -39,6 +39,10 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
static std::string MPEG_PACKAGE_LABEL = "File Package: SMPTE 381M frame wrapping of MPEG2 video elementary stream";
static std::string PICT_DEF_LABEL = "Picture Track";
+namespace ASDCP {
+
+namespace MPEG2
+{
//
ASDCP::Result_t
MD_to_MPEG2_VDesc(MXF::MPEG2VideoDescriptor* VDescObj, MPEG2::VideoDescriptor& VDesc)
@@ -111,6 +115,8 @@ MPEG2_VDesc_to_MD(MPEG2::VideoDescriptor& VDesc, MXF::MPEG2VideoDescriptor* VDes
VDescObj->ProfileAndLevel = VDesc.ProfileAndLevel;
return RESULT_OK;
}
+} // namespace MPEG2
+} // namespace asdcp
//
std::ostream&