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

Git pushed a commit to branch master
in repository ffmpeg.

commit 5988639f395ae2c31e0e41beec595a8948704e11
Author:     Marvin Scholz <[email protected]>
AuthorDate: Wed Feb 18 00:09:06 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avformat/yuv4mpegdec: return proper error
    
    The header is not invalid in this case, but ffmpeg still doesn't
    support it.
---
 libavformat/yuv4mpegdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
index 7e31780a20..20e7834d98 100644
--- a/libavformat/yuv4mpegdec.c
+++ b/libavformat/yuv4mpegdec.c
@@ -151,6 +151,7 @@ static int yuv4_read_header(AVFormatContext *s)
             case 'm':
                 av_log(s, AV_LOG_ERROR, "YUV4MPEG stream contains mixed "
                        "interlaced and non-interlaced frames.\n");
+                return AVERROR(ENOTSUP);
             default:
                 av_log(s, AV_LOG_ERROR, "YUV4MPEG has invalid header.\n");
                 return AVERROR(EINVAL);

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

Reply via email to