mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/oggdec: reset nstreams in close
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b0a8521383
commit
845414bbb1
@ -647,6 +647,9 @@ static int ogg_read_close(AVFormatContext *s)
|
||||
av_freep(&ogg->streams[i].private);
|
||||
av_freep(&ogg->streams[i].new_metadata);
|
||||
}
|
||||
|
||||
ogg->nstreams = 0;
|
||||
|
||||
av_freep(&ogg->streams);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user