wmadec: Verify bitstream size makes sense before calling init_get_bits.
authorAlex Converse <alex.converse@gmail.com>
Fri, 27 Jan 2012 22:24:07 +0000 (14:24 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 4 Mar 2012 11:26:06 +0000 (12:26 +0100)
commitfecd7468fcbf9115afdd8bf3dc3d08da0975e4d8
tree34fa62d4491b4c518f7c5f75d42f556384fd064c
parent19da1a39e861968c27504b67d481d32339669e2a
wmadec: Verify bitstream size makes sense before calling init_get_bits.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit 48f1e5212c90b511c90fa0449655abb06a9edda2)

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