icodec: fix leaking pkt on error
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 8 Nov 2016 22:53:52 +0000 (23:53 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 17 Nov 2016 22:16:43 +0000 (23:16 +0100)
commit41359d381a2b5f5057502b2839b5eb42af69804f
treec25e181ba25fa73fd1b5dd441ace3400922db3a2
parent581cce0cca80e9a999edfa74b0b756856da484f0
icodec: fix leaking pkt on error

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