OSDN Git Service

Fix init_get_bits length argument for init_get_bits.
authorAlexandre Colucci <alexandre@elgato.com>
Mon, 2 May 2011 16:55:02 +0000 (18:55 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 2 May 2011 16:57:51 +0000 (18:57 +0200)
commit3b4621acbb9b0b1f69dae3f14b01762fce912309
tree92aadc7fa4a8916f954e117f409ce8aa39829eed
parent884f678cfdc40561d780df708e2c7b58452d2e1e
Fix init_get_bits length argument for init_get_bits.

Do not use rlelen for buffer size in init_get_bits, it is
only the size of the data for the first field.
Since it is not reliable, just use the size of the whole buffer.
Additional comments add removal of unused rlelen variable by
Reimar Döffinger.
libavcodec/xsubdec.c