Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 294 by
jessy.go...@gmail.com: Webpdemux ignores user-defined chunks in webp images using VP8 format.
https://bugs.chromium.org/p/webp/issues/detail?id=294What steps will reproduce the problem?
1. Call WebPEncodeRGBA with a fully opaque (all alpha pixels at 0xFF) image as input.
2. Call WebPMuxSetImage with the encoded image, and WebPMuxSetChunk with any user-defined chunk fourcc and data.
3. Call WebPMuxAssemble to obtain the final webp file data.
4. Call WebPDemux with the final webp data and try retrieving the user-defined chunk with WebPDemuxGetChunk.
5. WebPDemuxGetChunk returns 0, indicating no chunk is present.
What is the expected output? What do you see instead?
The user-defined chunk should still be accessible in demux, regardless of whether it is in VP8 or VP8X format. The user data is written in the file generated by mux, but demux does not process it. Looking at the code, it only does so when the webp file is in the VP8X format.
What version of the product are you using? On what operating system?
libwebp 0.4.3 (x86 and x64) on Windows 8. A quick look on the master branch indicates the code should still currently behave the same.
Please provide any additional information below.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings