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>
Tue, 21 Nov 2017 02:33:53 +0000 (03:33 +0100)
commit8e50cf48663116b9c836de6032cc33d8e884acf6
tree3b3707d819a84440924c25a3d139dc3a05b34b99
parent490b7a052ebb54eb2bc12128b83bd1b2dfca6243
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