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>
Sat, 26 Nov 2016 23:38:56 +0000 (00:38 +0100)
commitc3307f7e9e1889c15dcaad1247c8212628474bc5
tree588c19c2c413b0ab6ca577e4e397684ca23721cf
parent3d82cebdd2bd5424b0eb37b0e39284da19fa0e5b
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