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>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commit35c7a1df8ae57b7c913f656f594a87bc9e7fab0c
tree827657d76e769f6225e49542456368b66b6383e4
parentf8fcb6bbf0e64b9453ad85978dc4357e7afdd499
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