swr: check that there is enough information to do rematrixing when needed.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Mar 2012 11:10:08 +0000 (12:10 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Mar 2012 11:10:08 +0000 (12:10 +0100)
commitae03b2141e451f0a3330566f2f2c8e3b9186c2ad
treef6718d56489c637e6752b305984448af31a85857
parent2e909b3c77d0d39d4f30aba8b6a780c979551e38
swr: check that there is enough information to do rematrixing when needed.

Fixes assertion failure.

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