OSDN Git Service

vc1dec: use get_bits_long and limit the read bits to 32
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Thu, 25 Jun 2015 20:54:17 +0000 (22:54 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 26 Jun 2015 17:39:29 +0000 (19:39 +0200)
commit072756cdd2f949462520041e357f52f15d8c274d
treed1b83019342bb950da320443add984e70bc8400a
parent5dbd491eb38efab1d1313d4129ed76ab2e98176d
vc1dec: use get_bits_long and limit the read bits to 32

get_bits should not be used with more than 25 bits.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/vc1dec.c