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

Roberto Togni CVS rtognimp at mplayerhq.hu
Mon Nov 10 23:03:49 CET 2003


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

Modified Files:
	vd_ffmpeg.c 
Log Message:
1l, another version check missing, noted by rgselk


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- vd_ffmpeg.c	10 Nov 2003 02:38:39 -0000	1.110
+++ vd_ffmpeg.c	10 Nov 2003 22:03:27 -0000	1.111
@@ -537,9 +537,11 @@
     } else
 	avctx->draw_horiz_band= NULL;
 
+#if LIBAVCODEC_BUILD >= 4689
 	// Palette support: libavcodec copies palette to *data[1]
 	if (mpi->bpp == 8)
 		mpi->planes[1] = malloc(AVPALETTE_SIZE);
+#endif
 
     pic->data[0]= mpi->planes[0];
     pic->data[1]= mpi->planes[1];



More information about the MPlayer-cvslog mailing list