changeset 7898:4bb38736c381

10l... #ifdef doesn't work for enums :(
author arpi
date Thu, 24 Oct 2002 19:40:08 +0000
parents 7674e94baff7
children 51b2d8985bb6
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Thu Oct 24 18:13:24 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Thu Oct 24 19:40:08 2002 +0000
@@ -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; //???