From fdd28f8bb3608978e75b27c5410db447396f361b Mon Sep 17 00:00:00 2001 From: milla Date: Wed, 26 May 2021 13:59:19 +0200 Subject: Put definitions inside their corresponding namespaces --- src/AS_DCP_MPEG2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/AS_DCP_MPEG2.cpp') 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& -- cgit v1.2.3