提交 845414bb 编写于 作者: S Schenk, Michael 提交者: Michael Niedermayer

avformat/oggdec: reset nstreams in close

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 b0a85213
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册