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:28:05 +0000 (00:28 +0100)
commit356e035773aa2208b985521991de125dc49cf603
treea33a5f067d11f93474c4dbc6bf8637e4cd337be5
parente1c1cb4aa148d598b5ad163a3dd7e303b3522636
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