Hi, the webp lossless doc was unclear regarding palette index falling out of range. See issue #206 [1] for the bug report. The solution retained was to treat out-of-range index as color 0x00000000, so we could keep the speed-up in libwebp (we use fake extra entries in the cmap to handle out-of-bound values without the extra branch).
The doc was clarified (along with few other loose ends) in patch #71605 [2] Attached is the fix for ffmpeg's webp decoder to treat out-of-bound index as transparent-black instead of reporting an error. note: the bug entry has a test webp file to exercise this feature/patch, in case. thanks! /skal [1] https://code.google.com/p/webp/issues/detail?id=206 [2] https://gerrit.chromium.org/gerrit/#/c/71605/
0001-libavcodec-webp-treat-out-of-bound-palette-index-as-.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel