OSDN Git Service

avcodec/alsdec: skip cases where the master channel equals the current channel
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Dec 2013 22:53:24 +0000 (23:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Dec 2013 11:35:57 +0000 (12:35 +0100)
commit5c74fa6ce0205c341afb76f6adf2b73c88ff26ef
treea4d5ca5d700bd4bf1ef4eb79e7a0e9ee5e7625ad
parent74a9c92840d3494393938874c1cdd5bdb95cc918
avcodec/alsdec: skip cases where the master channel equals the current channel

Fixes: msan_uninit-mem_7f6c73c97cf9_3571_als_04_2ch48k16b.mp4
Fixes use of uninitialized memory
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/alsdec.c