mp3dec: hack: fix decoding with safe bitstream reader
authorMans Rullgard <mans@mansr.com>
Sat, 17 Dec 2011 16:19:24 +0000 (16:19 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 17 Dec 2011 17:51:22 +0000 (17:51 +0000)
commitac08f798bbfe6b3a631964a26da961e692b1c9af
tree71e51793f5abb03bfbe0f1f00e3735b525284c39
parent583d3b7f97be065165ed742e108423704279516b
mp3dec: hack: fix decoding with safe bitstream reader

The buffer splicing relies on the bitstream reader over-reading
the end of the buffer as declared in init_get_bits(), although
more data is actually present.  Manually moving the bitstream
boundary after init_get_bits() allows this to work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/mpegaudiodec.c