|
|
|
@@ -3274,6 +3274,7 @@ void ff_free_stream(AVFormatContext *s, AVStream *st){ |
|
|
|
if (st->attached_pic.data) |
|
|
|
av_free_packet(&st->attached_pic); |
|
|
|
av_dict_free(&st->metadata); |
|
|
|
av_freep(&st->probe_data.buf); |
|
|
|
av_freep(&st->index_entries); |
|
|
|
av_freep(&st->codec->extradata); |
|
|
|
av_freep(&st->codec->subtitle_header); |
|
|
|
@@ -3282,7 +3283,6 @@ void ff_free_stream(AVFormatContext *s, AVStream *st){ |
|
|
|
if (st->info) |
|
|
|
av_freep(&st->info->duration_error); |
|
|
|
av_freep(&st->info); |
|
|
|
av_freep(&st->probe_data.buf); |
|
|
|
av_freep(&s->streams[ --s->nb_streams ]); |
|
|
|
} |
|
|
|
|
|
|
|
|