From: Arvind R. <arvin...@gmail.com>
Date: Tue, 22 Jul 2014 15:58:15 +0530
Subject: [PATCH] Do not free extradata in avcodec_free_context

in decoder, memory not ours; in encoder, already freed.
---
 As this patch I sent bounced, I am including this here as it is
mentioned in the bug-report.
 options.c |    1 -
 1 file changed, 1 deletion(-)

diff -uprN a/libavcodec/options.c b/libavcodec/options.c
--- a/libavcodec/options.c      2014-07-01 20:13:20.000000000 +0530
+++ b/libavcodec/options.c      2014-07-22 15:55:39.950948846 +0530
@@ -144,7 +144,6 @@ void avcodec_free_context(AVCodecContext

     avcodec_close(avctx);

-    av_freep(&avctx->extradata);
     av_freep(&avctx->subtitle_header);

     av_freep(pavctx);


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to