[MPlayer-cvslog] r35956 - trunk/libmpcodecs/vd_ffmpeg.c

cehoyos subversion at mplayerhq.hu
Tue Mar 12 22:37:44 CET 2013


Author: cehoyos
Date: Tue Mar 12 22:37:44 2013
New Revision: 35956

Log:
Do not set AVCodecContext->sub_id: It does not exist anymore.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Tue Mar 12 22:36:40 2013	(r35955)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Tue Mar 12 22:37:44 2013	(r35956)
@@ -401,7 +401,6 @@ static int init(sh_video_t *sh){
             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;


More information about the MPlayer-cvslog mailing list