[Ffmpeg-devel] [PATCH] fix jpegls unitialized data reading

Reimar Döffinger Reimar.Doeffinger
Mon Dec 11 21:19:34 CET 2006


Hello,
On Mon, Dec 11, 2006 at 07:04:34AM +0200, Kostya wrote:
> On Sun, Dec 10, 2006 at 11:48:10AM +0100, Michael Niedermayer wrote:
> > On Sun, Dec 10, 2006 at 11:37:27AM +0100, Reimar D?ffinger wrote:
[...]
> > > To be more precise:
> > > As I understand the spec, the attached patch should give correct output,
> > > there is nothing to suggest that the unescaped bitstream must be
> > > byte-aligned.
> > > Also, the previous code had the bug of giving the size to init_get_bits
> > > in bytes instead of bits.
> > > In difference to the other patches, this does change the regression test
> > > checksum though, to dca9d700da7857217408c310c501b9bc
> > 
> > looks ok, kostya?
> 
> Yes

Applied with regression tests update. Btw it decreases the file size by
14 and 20 bytes respectively, which is about an amazing 0.0002 percent
:-P

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list