avcodec/decode: Pass on the Closed Captions Side Data
authorKarthick J <kjeyapal@akamai.com>
Thu, 31 Aug 2017 11:10:05 +0000 (16:40 +0530)
committerMarton Balint <cus@passwd.hu>
Thu, 28 Sep 2017 19:12:08 +0000 (21:12 +0200)
Signed-off-by: Karthick J <kjeyapal@akamai.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavcodec/decode.c

index 892143c..1337ffb 100644 (file)
@@ -1490,6 +1490,7 @@ int ff_init_buffer_info(AVCodecContext *avctx, AVFrame *frame)
         { AV_PKT_DATA_AUDIO_SERVICE_TYPE,         AV_FRAME_DATA_AUDIO_SERVICE_TYPE },
         { AV_PKT_DATA_MASTERING_DISPLAY_METADATA, AV_FRAME_DATA_MASTERING_DISPLAY_METADATA },
         { AV_PKT_DATA_CONTENT_LIGHT_LEVEL,        AV_FRAME_DATA_CONTENT_LIGHT_LEVEL },
+        { AV_PKT_DATA_A53_CC,                     AV_FRAME_DATA_A53_CC },
     };
 
     if (pkt) {