apedec: check bits <= 32.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 29 Mar 2012 17:52:21 +0000 (17:52 +0000)
committerReinhard Tartler <siretart@tauware.de>
Sun, 29 Apr 2012 20:07:03 +0000 (22:07 +0200)
commite8050f313e7e3e1893155f878475872c4cc3a6e7
tree738cc8adda85840e5e7493b9090474298576db0a
parentbe424d86a85af1d86d2a4d1bc3fede3d6078f796
apedec: check bits <= 32.

Fixes a floating-point exception further down.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
(cherry picked from commit 420d1df2e2a857eae45fa947e16eae7494793d57)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/apedec.c