On Wed, Jan 25, 2023 at 05:55:34PM +0100, Anton Khirnov wrote: > --- > libavcodec/libwebpenc_animencoder.c | 35 +++++++++++++++++++++++++++-- > 1 file changed, 33 insertions(+), 2 deletions(-) breaks: ffmpeg -i lena.pnm -bitexact -y /tmp/file.webp ... [libwebp_anim @ 0x2d19bdc0] Using libwebp for RGB-to-YUV conversion. You may want to consider passing in YUV instead for lossy encoding. ==11922== Invalid read of size 8 ==11922== at 0x99F606: libwebp_anim_encode_frame (in ffmpeg_g) ==11922== by 0x86EA44: ff_encode_encode_cb (in ffmpeg_g) ==11922== by 0x86EE59: encode_receive_packet_internal (in ffmpeg_g) ==11922== by 0x86F04F: avcodec_send_frame (in ffmpeg_g) ==11922== by 0x30EDB2: encode_frame (in ffmpeg_g) ==11922== by 0x3185A8: transcode (in ffmpeg_g) ==11922== by 0x2EDD63: main (in ffmpeg_g) ==11922== Address 0x88 is not stack'd, malloc'd or (recently) free'd [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of failure, be that a person or equipment.