qdm2: check and reset dithering index per channel
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 27 Jun 2013 00:50:52 +0000 (02:50 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 7 Jul 2013 20:06:35 +0000 (22:06 +0200)
commit744a11c996641888d477a3981d609e79eeb69ea9
tree704c302af5cab2b05f8ff1f4c0652d48e4fea105
parent76efedeadb1f6bf79020c44a71dd0cee13d932ad
qdm2: check and reset dithering index per channel

Checking per subband would have the index exceed the
dithering noise table size.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/qdm2.c