]> git.sesse.net Git - ffmpeg/commit
mace: Make sure that the channel count is set to a valid value
authorMartin Storsjö <martin@martin.st>
Mon, 16 Sep 2013 12:19:52 +0000 (15:19 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 17 Sep 2013 08:21:46 +0000 (11:21 +0300)
commite1f3847f860a1094a46be4c5f10db8df616c3135
treec16f8a250b48bc84e4cc879f5ed5fc50b29dcdfa
parent1115689d54ea95a084421f5a182b8dc56cbff978
mace: Make sure that the channel count is set to a valid value

Also return a proper error code.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mace.c