[FFmpeg-cvslog] r17680 - trunk/libavcodec/svq3.c
Reimar Döffinger
Reimar.Doeffinger
Sun Mar 1 13:18:06 CET 2009
On Sun, Mar 01, 2009 at 01:11:07PM +0100, mru wrote:
> Author: mru
> Date: Sun Mar 1 13:11:07 2009
> New Revision: 17680
>
> Log:
> SVQ3: Fix decoding with A32_BITSTREAM_READER
>
> svq3_decode_slice_header() modifies the buffer used by the bitstream
> reader. Some of the bitstream readers cache a few bytes of data, which
> must be flushed after such a modification. Calling skip_bits_long(gb, 0)
> achieves this.
I don't want to hurry anyone, but in case nobody intends to make an
extra function instead of this "misuse", please add a comment at least
_somewhere_, log messages should not have to act as a substitute for
code comments.
More information about the ffmpeg-cvslog
mailing list