mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
avidec : Free codec context before initializing the chained DV demuxer.
Originally committed as revision 24279 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
57fe80fe88
commit
a58e6ceae0
@ -397,6 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
|
||||
ast = s->streams[0]->priv_data;
|
||||
av_freep(&s->streams[0]->codec->extradata);
|
||||
av_freep(&s->streams[0]->codec);
|
||||
av_freep(&s->streams[0]);
|
||||
s->nb_streams = 0;
|
||||
if (CONFIG_DV_DEMUXER) {
|
||||
|
Loading…
Reference in New Issue
Block a user