summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-27 02:54:46 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-27 02:54:46 +0000
commit290a98a9cc633bb73bd6ab5e669cbc133559bd89 (patch)
tree682f808c8f589b5d2f2d96dfb5f527c87c6a5b1e /libmpcodecs
parent31f511c9a67632ffff5228a885f1687e024fbee4 (diff)
downloadmpv-290a98a9cc633bb73bd6ab5e669cbc133559bd89.tar.bz2
mpv-290a98a9cc633bb73bd6ab5e669cbc133559bd89.tar.xz
1l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7930 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 8e9487b542..56e4171c55 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -396,7 +396,11 @@ static void get_buffer(struct AVCodecContext *avctx, int width, int height, int
if(init_vo(sh)<0){
printf("init_vo failed\n");
+#if LIBAVCODEC_BUILD >= 4632
+ return -1;
+#else
return;
+#endif
}
if(pict_type==B_TYPE)