changeset 35862:35f8c524864d

Do not set AVCodecContext->sub_id: It does not exist anymore.
author cehoyos
date Tue, 12 Mar 2013 21:37:44 +0000
parents f5b48e700de4
children 2e8a3822bd84
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Tue Mar 12 21:36:40 2013 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Tue Mar 12 21:37:44 2013 +0000
@@ -401,7 +401,6 @@
             avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
             memcpy(avctx->extradata, sh->bih+1, avctx->extradata_size);
         }
-        avctx->sub_id= AV_RB32(avctx->extradata+4);
 
 //        printf("%X %X %d %d\n", extrahdr[0], extrahdr[1]);
         break;