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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 3d1bdd7718 avcodec/evc_ps: store dpb_output_delay_length_minus1 in 
hrd_parameters
3d1bdd7718 is described below

commit 3d1bdd77181aef2668cbf83fc807c61aa66322b0
Author:     romainhedouin <[email protected]>
AuthorDate: Wed Oct 14 21:07:19 2026 +0200
Commit:     James Almer <[email protected]>
CommitDate: Wed Oct 14 22:46:34 2026 +0000

    avcodec/evc_ps: store dpb_output_delay_length_minus1 in hrd_parameters
    
    hrd_parameters() read the third 5-bit length field into
    cpb_removal_delay_length_minus1 a second time, overwriting the value
    just read, and never set dpb_output_delay_length_minus1, which the
    struct declares in that order (as HEVC does). Bit positions are
    unchanged, and nothing currently reads these fields.
    
    Tested: make fate passes, including fate-lavf-fate-evc.mp4.
    
    Signed-off-by: romainhedouin <[email protected]>
---
 libavcodec/evc_ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/evc_ps.c b/libavcodec/evc_ps.c
index 637572d324..d7baed6790 100644
--- a/libavcodec/evc_ps.c
+++ b/libavcodec/evc_ps.c
@@ -70,7 +70,7 @@ static int hrd_parameters(GetBitContext *gb, HRDParameters 
*hrd)
     }
     hrd->initial_cpb_removal_delay_length_minus1 = get_bits(gb, 5);
     hrd->cpb_removal_delay_length_minus1 = get_bits(gb, 5);
-    hrd->cpb_removal_delay_length_minus1 = get_bits(gb, 5);
+    hrd->dpb_output_delay_length_minus1 = get_bits(gb, 5);
     hrd->time_offset_length = get_bits(gb, 5);
 
     return 0;

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