Close ogg stream upon error when using AV_EF_EXPLODE.
authorDale Curtis <dalecurtis@chromium.org>
Mon, 20 Nov 2017 20:07:57 +0000 (12:07 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jan 2018 22:19:14 +0000 (23:19 +0100)
commit02d11e616af3ca2dce654e106ddc065ceb94de4e
treea1ff6608f4847c3e18637c50837533be5619f41d
parent13763f71926057e57ddd75b7c8ff93e6ab23f8ab
Close ogg stream upon error when using AV_EF_EXPLODE.

Without this there can be multiple memory leaks for unrecognized
ogg streams.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit bce8fc0754c4b31f574a4372c6d7996ed29f7c2a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/oggdec.c