proresenc_kostya: do not attempt to free random things
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cde4741177
commit
3865ec2ace
@ -834,9 +834,6 @@ static av_cold int encode_close(AVCodecContext *avctx)
|
||||
ProresContext *ctx = avctx->priv_data;
|
||||
int i;
|
||||
|
||||
if (avctx->coded_frame->data[0])
|
||||
avctx->release_buffer(avctx, avctx->coded_frame);
|
||||
|
||||
av_freep(&avctx->coded_frame);
|
||||
|
||||
if (ctx->tdata) {
|
||||
|
Loading…
Reference in New Issue
Block a user