[FFmpeg-cvslog] lavf: free probe data in case we close before probing finished
Michael Niedermayer
git at videolan.org
Mon Dec 3 20:33:40 CET 2012
ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 29 17:33:05 2012 +0200| [7a67a70efa9c02ed557f9e4b29964dfa953f6892] | committer: Michael Niedermayer
lavf: free probe data in case we close before probing finished
Fixes Ticket1634
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 44a7a6300d104dd453bcd5c601e9c6944fb34679)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7a67a70efa9c02ed557f9e4b29964dfa953f6892
---
libavformat/utils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 05c4b7f..7940037 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3056,6 +3056,7 @@ void ff_free_stream(AVFormatContext *s, AVStream *st){
av_freep(&st->codec);
av_freep(&st->priv_data);
av_freep(&st->info);
+ av_freep(&st->probe_data.buf);
av_freep(&s->streams[ --s->nb_streams ]);
}
More information about the ffmpeg-cvslog
mailing list