diff options
Diffstat (limited to 'gst/mxf/mxfvc3.c')
-rw-r--r-- | gst/mxf/mxfvc3.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/mxf/mxfvc3.c b/gst/mxf/mxfvc3.c index 4c0c6692..e4136d17 100644 --- a/gst/mxf/mxfvc3.c +++ b/gst/mxf/mxfvc3.c @@ -35,9 +35,10 @@ GST_DEBUG_CATEGORY_EXTERN (mxf_debug); #define GST_CAT_DEFAULT mxf_debug -static const guint8 picture_essence_coding_vc3_avid[] = { - 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01, 0x0e, 0x04, 0x02, 0x01, 0x02, - 0x04, 0x01, 0x00 +static const MXFUL picture_essence_coding_vc3_avid = { { + 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01, 0x0e, 0x04, 0x02, 0x01, + 0x02, + 0x04, 0x01, 0x00} }; static gboolean @@ -71,7 +72,7 @@ mxf_is_vc3_essence_track (const MXFMetadataTimelineTrack * track) p = MXF_METADATA_GENERIC_PICTURE_ESSENCE_DESCRIPTOR (d); key = &p->picture_essence_coding; - if (memcmp (key, picture_essence_coding_vc3_avid, 16) == 0) + if (mxf_ul_is_subclass (&picture_essence_coding_vc3_avid, key)) return TRUE; } } |