# HG changeset patch # User iive # Date 1068431919 0 # Node ID 568efdc13e60c4a39f1c2a6615e16dbb530fad53 # Parent 9a34051512b2b2b6bc7dcb0d6f053b32a94c6cd4 1l missing version check diff -r 9a34051512b2 -r 568efdc13e60 libmpcodecs/vd_ffmpeg.c --- 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;