mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 10:51:51 +00:00
1l missing version check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11423 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bdf58932d4
commit
ec7286c803
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user