Mercurial > mplayer.hg
comparison libmpcodecs/vd_ffmpeg.c @ 34522:d40c46fad187
palctrl exists no longer and has been unused a long time,
so no need to free it.
author | reimar |
---|---|
date | Sat, 28 Jan 2012 10:32:49 +0000 |
parents | 70653bd01fb4 |
children | 0481efcf5489 |
comparison
equal
deleted
inserted
replaced
34521:70653bd01fb4 | 34522:d40c46fad187 |
---|---|
415 if (avctx) { | 415 if (avctx) { |
416 if (avctx->codec && avcodec_close(avctx) < 0) | 416 if (avctx->codec && avcodec_close(avctx) < 0) |
417 mp_msg(MSGT_DECVIDEO, MSGL_ERR, MSGTR_CantCloseCodec); | 417 mp_msg(MSGT_DECVIDEO, MSGL_ERR, MSGTR_CantCloseCodec); |
418 | 418 |
419 av_freep(&avctx->extradata); | 419 av_freep(&avctx->extradata); |
420 av_freep(&avctx->palctrl); | |
421 av_freep(&avctx->slice_offset); | 420 av_freep(&avctx->slice_offset); |
422 } | 421 } |
423 | 422 |
424 av_freep(&avctx); | 423 av_freep(&avctx); |
425 av_freep(&ctx->pic); | 424 av_freep(&ctx->pic); |