[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.61,1.62

Arpi of Ize arpi at mplayerhq.hu
Thu Oct 24 21:40:31 CEST 2002


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

Modified Files:
	vd_ffmpeg.c 
Log Message:
10l... #ifdef doesn't work for enums :(


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- vd_ffmpeg.c	19 Oct 2002 00:23:50 -0000	1.61
+++ vd_ffmpeg.c	24 Oct 2002 19:40:08 -0000	1.62
@@ -357,7 +357,7 @@
 	case PIX_FMT_YUV420P: ctx->best_csp=IMGFMT_YV12;break; //mpegs
 	case PIX_FMT_YUV422P: ctx->best_csp=IMGFMT_422P;break; //mjpeg
 	case PIX_FMT_YUV444P: ctx->best_csp=IMGFMT_444P;break; //???
-#ifdef PIX_FMT_YUV411P
+#if LIBAVCODEC_BUILD >= 4631
 	case PIX_FMT_YUV411P: ctx->best_csp=IMGFMT_411P;break; //dv ntsc
 #endif
 	case PIX_FMT_YUV422:  ctx->best_csp=IMGFMT_YUY2;break; //???




More information about the MPlayer-cvslog mailing list