What is the expected output? What do you see instead?
Running that highlighted code in 4 little endian environments and 1 big endian environment, I expected the same output. Instead, big endian returns 254 while little endian returns 255.
What version of the product are you using? On what operating system?
libwebp 1.2.1. The aberrant behaviour is happening on a Ubuntu 20.04 Docker image using QEMU to perform s390x operations.
Please provide any additional information below.
Thanks for any help you can give.
-- You received this message because: 1. The project was configured to send all issue notifications to this address
did you check that there are actually at least two frames in the bitstream? You should check that WebPAnimDecoderHasMoreFrames(dec) before calling WebPAnimDecoderGetNext().
jz… via monorail
unread,
Dec 22, 2021, 1:16:32 PM12/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Canvas size: 82 x 82 Features present: animation transparency Background color : 0xFFFFFFFF Loop Count : 0 Number of frames: 2 No.: width height alpha x_offset y_offset duration dispose blend image_size compression 1: 82 82 no 0 0 0 none no 3170 lossless 2: 82 48 yes 0 32 0 none yes 2132 lossless
I can reproduce the problem with the sample. The individual frames extracted with webpmux decode the same, but the output from anim_dump (and in the sample) differs, so it may have something to do with the blending. I noticed webpinfo is broken for big-endian too, I've got a fix for that.
Git Watcher via monorail
unread,
Dec 22, 2021, 8:01:51 PM12/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message