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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8b1118818bc9fea829ebd07aa31dd0461b494084
Author:     Zhao Zhili <[email protected]>
AuthorDate: Sat May 23 02:20:20 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Sun Jul 5 04:15:26 2026 +0000

    avformat/mods: bail out on av_get_packet() failure
---
 libavformat/mods.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/mods.c b/libavformat/mods.c
index c6267fa621..8ec2646e46 100644
--- a/libavformat/mods.c
+++ b/libavformat/mods.c
@@ -118,6 +118,8 @@ static int mods_read_packet(AVFormatContext *s, AVPacket 
*pkt)
 
     size = avio_rl32(pb) >> 14;
     ret = av_get_packet(pb, pkt, size);
+    if (ret < 0)
+        return ret;
     pkt->pos = pos;
     pkt->stream_index = 0;
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to