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

Git pushed a commit to branch master
in repository ffmpeg.

commit cdfad4aed8b8e3ddcaddee3f8f2a9398f9db9c34
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 13 22:42:56 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Thu Oct 15 00:58:38 2026 +0000

    avformat/rtpdec_rfc4175: Return no packet when the first field ends
    
    rfc4175_finalize_packet() returned success without a packet for the first
    field of interlaced video, so an empty packet was returned for every frame.
    
    This is not a security issue.
    
    Fixes: 1l09F1Fvpg1j
    Empty packets Replicated through API
    Found during triage of the security report V8a3e2cGQI7w, also raised by 
Forgejo Fairy while reviewing PR #24949
---
 libavformat/rtpdec_rfc4175.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c
index 41bf4a2c5d..3d31bb268b 100644
--- a/libavformat/rtpdec_rfc4175.c
+++ b/libavformat/rtpdec_rfc4175.c
@@ -216,7 +216,7 @@ fail:
 static int rfc4175_finalize_packet(PayloadContext *data, AVPacket *pkt,
                                    int stream_index)
 {
-    int ret = 0;
+    int ret = AVERROR(EAGAIN);
 
     pkt->stream_index = stream_index;
     if (!data->interlaced || data->field) {

-- 
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