twinvqdec: Check the ibps parameter separately
authorMartin Storsjö <martin@martin.st>
Tue, 17 Sep 2013 16:33:48 +0000 (19:33 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:58 +0000 (09:43 +0100)
commit591d5281f5bccd2ee398ca46bf7de507be65036b
tree5ea62da3f10d7536c7b17e0806cfb82a89a4a4ae
parente972338e3596036d5d1f3ef214c465fa8a4a8504
twinvqdec: Check the ibps parameter separately

This is required, since invalid parameters actually could
pass the switch check below.

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 c77d409bf95954aceb762dd800d1ee2868c4b0d4)
(cherry picked from commit 9b9aee27f4e43b4a6b0884f8a6f49eb0289d7c09)
libavcodec/twinvq.c