vc1dec: use get_bits_long and limit the read bits to 32
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 25 Jun 2015 20:47:38 +0000 (22:47 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 26 Jun 2015 17:20:00 +0000 (19:20 +0200)
commit1f1e0a2971b2a01f275bb5088c2e36166514be64
tree5c13eb4bcc4d2f6fa62e83aeec10ddc7a7b110d0
parent151dbe4579601a81662b4b366d0e10df3c00027a
vc1dec: use get_bits_long and limit the read bits to 32

get_bits should not be used with more than 25 bits.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/vc1dec.c