This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 56743898d214decccf219aea4233da7aca9dc71c Author: Michael Niedermayer <[email protected]> AuthorDate: Thu Jul 30 01:40:49 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Fri Jul 31 19:37:52 2026 +0000 avcodec/ffv1dec: reject a remap that produces zero entries --- libavcodec/ffv1dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index ccafc71872..8de15d2476 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -369,6 +369,8 @@ static int decode_remap(FFV1Context *f, FFV1SliceContext *sc) } lu ^= !run; } + if (!j) + return AVERROR_INVALIDDATA; sc->remap_count[p] = j; } return 0; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
