Skip to content

Commit 44a7a63

Browse files
committed
lavf: free probe data in case we close before probing finished
Fixes Ticket1634 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
1 parent acfe696 commit 44a7a63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libavformat/utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,6 +3056,7 @@ void ff_free_stream(AVFormatContext *s, AVStream *st){
30563056
av_freep(&st->codec);
30573057
av_freep(&st->priv_data);
30583058
av_freep(&st->info);
3059+
av_freep(&st->probe_data.buf);
30593060
av_freep(&s->streams[ --s->nb_streams ]);
30603061
}
30613062

0 commit comments

Comments
 (0)