changeset 6835:a9ba8559ca6f

10l to dunno
author atmos4
date Sun, 28 Jul 2002 22:29:04 +0000
parents 2d7dfcc79651
children 0e6860ff93e3
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Jul 28 22:09:03 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Jul 28 22:29:04 2002 +0000
@@ -86,8 +86,11 @@
         case IMGFMT_YV12:
         case IMGFMT_IYUV:
         case IMGFMT_I420:
+#if LIBAVCODEC_BUILD >= 4615
             if(ctx->yvu9_support) return CONTROL_FALSE;
-            else                  return CONTROL_TRUE;
+            else
+#endif
+                                  return CONTROL_TRUE;
         case IMGFMT_YUY2:
             if(ctx->yuy2_support) return CONTROL_TRUE;
                                   return CONTROL_FALSE;