[FFmpeg-devel] skip_put_bits() bugged?

Stefano Sabatini stefano.sabatini-lala
Tue Mar 31 01:46:38 CEST 2009


On date Tuesday 2009-03-31 00:17:31 +0200, Stefano Sabatini encoded:
> Hi all,
> 
> check this test (you can put it in libavcodec/bitstream.c):
[...]
> Which looks quite wrong.
> Commenting in skip_put_bits(&pb, 0); it looks fine.
> 
> Am I missing something or is it indeed broken?

It brokes for example when n is 0 and bit_left == 32.

Regards.
-- 
FFmpeg = Fundamental Frenzy Mind-dumbing Portable Erroneous Gangster



More information about the ffmpeg-devel mailing list