summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-10 02:38:39 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-10 02:38:39 +0000
commitec7286c8031fa100d880829dd88ac68f42099e48 (patch)
tree72987fd623399d4b13ad0700e25ad56f237f57eb /libmpcodecs
parentbdf58932d4232cea5eeb7f5ff645113407d80a34 (diff)
downloadmpv-ec7286c8031fa100d880829dd88ac68f42099e48.tar.bz2
mpv-ec7286c8031fa100d880829dd88ac68f42099e48.tar.xz
1l missing version check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11423 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 6ca8482544..da1384cbe6 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -338,9 +338,11 @@ static void uninit(sh_video_t *sh){
if (avctx->extradata_size)
free(avctx->extradata);
avctx->extradata=NULL;
+#if LIBAVCODEC_BUILD >= 4689
if (avctx->palctrl)
free(avctx->palctrl);
avctx->palctrl=NULL;
+#endif
if(avctx->slice_offset!=NULL)
free(avctx->slice_offset);
avctx->slice_offset=NULL;