shorten: dont leave invalid channel counts in the context.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2013 00:03:30 +0000 (01:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2013 00:04:20 +0000 (01:04 +0100)
commit4f1279154ee9baf2078241bf5619774970d18b25
treedfaaebd318faf9d9db56b48872f1dfdf2ba9564f
parente1219cdaf9fb4bc8cea410e1caf802373c1bfe51
shorten: dont leave invalid channel counts in the context.

Fixes freeing invalid addresses

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