1
0
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:
Schenk, Michael 2014-04-07 14:48:13 +02:00 committed by Michael Niedermayer
parent b0a8521383
commit 845414bbb1

View File

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