Bug#755923:

Arvind R arvino55 at gmail.com
Thu Jul 24 15:43:13 UTC 2014


From: Arvind R. <arvino55 at 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);



More information about the pkg-multimedia-maintainers mailing list