vp56dec: avoid freeing the returned frame before returning it.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 04:21:39 +0000 (05:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 04:21:39 +0000 (05:21 +0100)
commitd85b3c4fff4c4b255232fcc01edbd57f19d60998
treef43f1729c2cf9b6c3c0722d2ea60630b6c618b04
parent25715064c2ef4978672a91f8c856f3e8809a7c45
vp56dec: avoid freeing the returned frame before returning it.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vp56.c