qiqian / webp

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

clarify spec about mandatory version number 0 #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by Nigel Tao:

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

"ReadImageInfo in libwebp-0.4.0's src/dec/vp8l.c says:

if (VP8LReadBits(br, VP8L_VERSION_BITS) != 0) return 0;

The spec at 
https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specificat
ion
says, "The version_number is a 3 bit code that must be discarded by
the decoder at this time".
"

Spec needs to be clarified and state that a version number value of 0 is 
mandatory.

Original issue reported on code.google.com by pascal.m...@gmail.com on 18 Sep 2014 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by pascal.m...@gmail.com on 18 Sep 2014 at 6:28

GoogleCodeExporter commented 9 years ago
doc updated, as per https://gerrit.chromium.org/gerrit/#/c/71605/

Original comment by pascal.m...@gmail.com on 18 Sep 2014 at 6:32