This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 078f7e7f4857d9e58263ae0e30da5fb51e87e694
Author:     Ramiro Polla <[email protected]>
AuthorDate: Mon Oct 19 13:13:05 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Nov 4 00:35:02 2026 +0000

    avformat/webp_anim_dec: fix seeking by setting correct packet position
    
    Set pkt->pos to the start of the ANMF chunk (before the header) after
    av_get_packet() is called. This fixes seeking and the warning message:
     Skipping chunk: [0][0][0][0]
---
 libavformat/webp_anim_dec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/webp_anim_dec.c b/libavformat/webp_anim_dec.c
index 14abb61db4..e81deea6c8 100644
--- a/libavformat/webp_anim_dec.c
+++ b/libavformat/webp_anim_dec.c
@@ -272,6 +272,7 @@ static int webp_anim_read_packet(AVFormatContext *s, 
AVPacket *pkt)
             ret = av_get_packet(pb, pkt, size);
             if (ret < 0)
                 return ret;
+            pkt->pos = offset;
             if (!ctx->cur_frame++)
                 pkt->flags |= AV_PKT_FLAG_KEY;
             pkt->pts = AV_NOPTS_VALUE;

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to