aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-28 22:29:04 +0000
committerGravatar atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-28 22:29:04 +0000
commit60e4b5d81cc1b136871414f57afa3ebbc6c25287 (patch)
treec088748832cedbf614361ff0aa15774a954629f6 /libmpcodecs
parent10baacbf5f42088be69c3a96fff82fe8f532e54d (diff)
10l to dunno
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6836 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 016ec4107e..748c1ac6d3 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -86,8 +86,11 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
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;