xmubingo / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

Since 280c365 webp image with odd width fails to decode #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a source image with an odd width
2. Attempt to decode with dwebp
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
g280c365

Please provide any additional information below.
This change modified VP8Init to use VP8GetByte to read the first 2 bytes from 
the bitstream. This alone looks correct, but has the side effect of setting 
eof_ on the bit reader.
The check in ParseFrame:
 if (dec->br_.eof_ || token_br->eof_) {
will fail on token_br->eof_ with the attached file.

Original issue reported on code.google.com by jz...@google.com on 23 Dec 2010 at 12:32

Attachments:

GoogleCodeExporter commented 9 years ago
Verified this was fixed by 504d339, this issue can be closed.

Original comment by jz...@google.com on 5 Feb 2011 at 12:15

GoogleCodeExporter commented 9 years ago
fixed. closing.

Original comment by s...@google.com on 26 Feb 2011 at 4:04

GoogleCodeExporter commented 9 years ago

Original comment by pascal.m...@gmail.com on 29 Mar 2011 at 7:04