icodec: add ico_read_close to fix leaking ico->images
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 8 Nov 2016 22:54:41 +0000 (23:54 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 26 Nov 2016 23:38:56 +0000 (00:38 +0100)
commit05e6606ba98a53f10213b2f8b07afc3e62731c5a
treec5e10617c387bd0942411a9f8a0e99eb4e5ebf84
parentc3307f7e9e1889c15dcaad1247c8212628474bc5
icodec: add ico_read_close to fix leaking ico->images

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit d54c95a1435a8a3fcd599108ec85b7f56a0fcbf9)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/icodec.c