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

Git pushed a commit to branch master
in repository ffmpeg.

commit 706d4e473604b40fbedc8df8787ce5977185bcb8
Author:     James Almer <[email protected]>
AuthorDate: Sat Feb 7 19:21:02 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Sun Feb 8 21:58:06 2026 -0300

    avutil/iamf: stop setting parameter definition block defaults
    
    It was done for the sake of having subblock_duration not be zero as the spec
    forbids that value, but harcoding it to any arbitrary value is no better
    considering the user is meant to fill the entire structure.
    
    This helps speeding up the function when trying to allocate a struct with a
    huge amount of blocks.
    
    Signed-off-by: James Almer <[email protected]>
---
 libavutil/iamf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavutil/iamf.c b/libavutil/iamf.c
index ea0c87428f..76707563cb 100644
--- a/libavutil/iamf.c
+++ b/libavutil/iamf.c
@@ -226,8 +226,6 @@ AVIAMFParamDefinition *av_iamf_param_definition_alloc(enum 
AVIAMFParamDefinition
         default:
             av_assert0(0);
         }
-
-        av_opt_set_defaults(subblock);
     }
 
     if (out_size)

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

Reply via email to