From: Tomas Härdin <[email protected]>

Note that the old DNxHD UL is actually JPEG 2000 according to RP224.
Leaving it as-is for now.
---
 libavformat/mxf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 37a09fd..d761622 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -42,6 +42,7 @@ const MXFCodecUL ff_mxf_codec_uls[] = {
     { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x07,0x04,0x01,0x02,0x02,0x03,0x01,0x01,0x00 
}, 14,   AV_CODEC_ID_JPEG2000 }, /* JPEG2000 Codestream */
     { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x01,0x7F,0x00,0x00,0x00 
}, 13,   AV_CODEC_ID_RAWVIDEO }, /* Uncompressed */
     { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x01,0x00 
}, 15,   AV_CODEC_ID_RAWVIDEO }, /* Uncompressed 422 8-bit */
+    { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x71,0x00,0x00,0x00 
}, 13,      AV_CODEC_ID_DNXHD }, /* SMPTE VC-3/DNxHD */
     { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x03,0x02,0x00,0x00 
}, 14,      AV_CODEC_ID_DNXHD }, /* SMPTE VC-3/DNxHD */
     { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x32,0x00,0x00 
}, 14,       AV_CODEC_ID_H264 }, /* H.264/MPEG-4 AVC Intra */
     { { 
0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x00 
}, 15,       AV_CODEC_ID_V210 }, /* V210 */
-- 
1.8.5.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to