img2dec: always close AVIOContexts
authorTomas Härdin <tomas.hardin@codemill.se>
Fri, 7 Sep 2012 11:28:48 +0000 (13:28 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 12 Sep 2012 12:31:09 +0000 (14:31 +0200)
commit5e3572893d7f17679c5e051c511bf42f3da77b00
tree7b0da0772b27c507d138aeb52c7f043882392916
parentc3bcd22ed3f843f7240fa190df8f3daa2081290f
img2dec: always close AVIOContexts

Zero sized files would cause the contexts to leak away.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/img2dec.c