summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc_kostya.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-07 01:11:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-07 01:11:28 +0200
commit3865ec2acea976da695b9d4c8375d1af1449a446 (patch)
tree15a3e2a5c1761b1136c68e398ad45ed43392f783 /libavcodec/proresenc_kostya.c
parentcde47411774fcd681c9dfbef2916ef364d284567 (diff)
proresenc_kostya: do not attempt to free random things
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/proresenc_kostya.c')
-rw-r--r--libavcodec/proresenc_kostya.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 7755d71c8e..638098cd3d 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -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) {