changeset 11422:568efdc13e60

1l missing version check
author iive
date Mon, 10 Nov 2003 02:38:39 +0000
parents 9a34051512b2
children dffc970f1922
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Nov 09 23:58:10 2003 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Mon Nov 10 02:38:39 2003 +0000
@@ -338,9 +338,11 @@
     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;