segafilm: Validate the number of audio channels
authorMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 13:02:29 +0000 (16:02 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:57 +0000 (09:43 +0100)
commite80071892b14a66b8730dfe21aca76e5b0333f2d
tree5de8da665d46b676c8d7e699e8ae9800f7aeb557
parent2c3114158510d05346e362d381a3b352175e260e
segafilm: Validate the number of audio channels

This avoids divisions by zero later.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 82e266c6d3fbf3cc74e515b883e66543381a0f2c)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 5379c5184b9fe9ef06234638f5629d4c80056e04)
libavformat/segafilm.c