[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.111,1.112

Roberto Togni CVS rtognimp at mplayerhq.hu
Wed Nov 26 21:59:08 CET 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv27376

Modified Files:
	vd_ffmpeg.c 
Log Message:
reget_buffer() support


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- vd_ffmpeg.c	10 Nov 2003 22:03:27 -0000	1.111
+++ vd_ffmpeg.c	26 Nov 2003 20:58:41 -0000	1.112
@@ -181,7 +181,7 @@
     ctx->avctx = avcodec_alloc_context();
     avctx = ctx->avctx;
 
-#if LIBAVCODEC_BUILD >= 4691
+#if LIBAVCODEC_BUILD >= 4691 && LIBAVCODEC_BUILD <= 4692
     if(lavc_codec->capabilities&CODEC_CAP_CR)
         avctx->cr_available = 1;
 #endif
@@ -202,6 +202,9 @@
         avctx->flags|= CODEC_FLAG_EMU_EDGE; 
         avctx->get_buffer= get_buffer;
         avctx->release_buffer= release_buffer;
+#if LIBAVCODEC_BUILD >= 4693
+        avctx->reget_buffer= get_buffer;
+#endif
     }
 
 #ifdef CODEC_FLAG_NOT_TRUNCATED



More information about the MPlayer-cvslog mailing list