qdm2: refactor joined stereo support
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 9 Jul 2013 12:44:02 +0000 (14:44 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 21 Sep 2013 13:02:49 +0000 (15:02 +0200)
commitb64bd2e18bac1bd3e3e0ae4aebcad1c33f031c66
tree78bbcd8dcad80d5c70eef19b600622ee8454d965
parentb9dea1a085c4705e480bd17dfa8c8ce227fdce76
qdm2: refactor joined stereo support

qdm2 does support only two channels. Loop over the run once.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit adadc3f2443d25b375e21e801516ccfd78e0b080)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/qdm2.c