[FFmpeg-cvslog] lavf: free probe data in case we close before probing finished
Michael Niedermayer
git at videolan.org
Sat Sep 29 17:38:45 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 29 17:33:05 2012 +0200| [44a7a6300d104dd453bcd5c601e9c6944fb34679] | 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>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=44a7a6300d104dd453bcd5c601e9c6944fb34679
---
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