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

Git pushed a commit to branch release/8.1
in repository ffmpeg.

commit 2cf15d3fc06c7e7709ece4a3955e100bab3540e3
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Feb 6 03:49:30 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Mar 15 00:49:55 2026 +0100

    avcodec/aom_film_grain: Remove impossible check
    
    fgp is freshly allocated so it cannot be equal to ref
    
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit b4b569f9226168c59cc5b101580203624703a8ee)
---
 libavcodec/aom_film_grain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aom_film_grain.c b/libavcodec/aom_film_grain.c
index 5919d99c30..bb60c55774 100644
--- a/libavcodec/aom_film_grain.c
+++ b/libavcodec/aom_film_grain.c
@@ -213,7 +213,7 @@ int ff_aom_parse_film_grain_sets(AVFilmGrainAFGS1Params *s,
         }
 
         predict_scaling = get_bits1(gb);
-        if (predict_scaling && (!ref || ref == fgp))
+        if (predict_scaling && !ref)
             goto error; // prediction must be from valid, different set
 
         predict_y_scaling = predict_scaling ? get_bits1(gb) : 0;

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

Reply via email to