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>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commitee13d847a49cbad1f799aa5d9f9917961a1fd7c8
tree8844e824bba44f1d50bacfa866b46766b66bd1a2
parent78782ca62d6915441ea7db61cd1e2ba30bd61dda
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