FFmpeg/libswresample
Michael Niedermayer e35da91b52 swr: check channel layouts before using them.
Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 21cd905cd4)

Conflicts:

	libswresample/swresample.c
2013-03-03 03:00:51 +01:00
..
arm ARM: libswresample: NEON optimised generic fltp to s16 conversion 2012-09-24 23:19:32 +02:00
x86 swr: add av_cold to init/free functions 2012-09-09 02:26:20 +02:00
audioconvert.c swr: make sure the last data element is NULL so we can use it to detect the number of channels 2012-09-24 23:19:32 +02:00
audioconvert.h
dither.c
libswresample.v
Makefile
rematrix.c swr: add av_cold to init/free functions 2012-09-09 02:26:20 +02:00
rematrix_template.c swr: use 64bit index/len for x86_64 mix 2012-12-03 19:36:15 +01:00
resample.c swr/resample: mark mm_flags as potentially unused 2012-09-13 19:31:02 +02:00
resample_template.c
swresample-test.c swr: update copyright years 2012-09-07 00:29:06 +02:00
swresample.c swr: check channel layouts before using them. 2013-03-03 03:00:51 +01:00
swresample.h swr: update copyright years 2012-09-07 00:29:06 +02:00
swresample_internal.h swr: use 64bit index/len for x86_64 mix 2012-12-03 19:36:15 +01:00