[FFmpeg-cvslog] proresenc_kostya: do not attempt to free random things

Michael Niedermayer git at videolan.org
Tue Aug 7 01:26:09 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug  7 01:11:28 2012 +0200| [3865ec2acea976da695b9d4c8375d1af1449a446] | committer: Michael Niedermayer

proresenc_kostya: do not attempt to free random things

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3865ec2acea976da695b9d4c8375d1af1449a446
---

 libavcodec/proresenc_kostya.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 7755d71..638098c 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) {



More information about the ffmpeg-cvslog mailing list