lavf: free probe data in case we close before probing finished

Fixes Ticket1634

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-29 17:33:05 +02:00
parent acfe69669c
commit 44a7a6300d
1 changed files with 1 additions and 0 deletions

View File

@ -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 ]);
}