mvi: Add sanity checking for the audio frame size
authorMartin Storsjö <martin@martin.st>
Sat, 28 Sep 2013 20:26:18 +0000 (23:26 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:57 +0000 (09:43 +0100)
commit35c39d2ee2a2ff6f8200b5725dd9bf443dba55c7
treef9cebc0e23a2e7e235a1681c4c846e1a847b6272
parentea1c9424d1c425c657b43fbba478e65af2e2c774
mvi: Add sanity checking for the audio frame size

This avoids a division by zero.

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 28ff439efd2362fb21e1a78610737f2e26a72d8f)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 04d2f9ace3fb6e880f3488770fc5a39de5b63cbb)
libavformat/mvi.c