segafilm: Validate the number of audio channels
authorMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 13:02:29 +0000 (16:02 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 19:45:40 +0000 (22:45 +0300)
commit82e266c6d3fbf3cc74e515b883e66543381a0f2c
tree259f729db2415658a8c419987bbb5b24da1bc7cb
parent601c2015bc16f0b281160292a6a760cbbbb0eacb
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>
libavformat/segafilm.c