From ec7286c8031fa100d880829dd88ac68f42099e48 Mon Sep 17 00:00:00 2001 From: iive Date: Mon, 10 Nov 2003 02:38:39 +0000 Subject: [PATCH] 1l missing version check git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11423 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) 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;