mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
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 <jamrial@gmail.com>
This commit is contained in:
@@ -226,8 +226,6 @@ AVIAMFParamDefinition *av_iamf_param_definition_alloc(enum AVIAMFParamDefinition
|
||||
default:
|
||||
av_assert0(0);
|
||||
}
|
||||
|
||||
av_opt_set_defaults(subblock);
|
||||
}
|
||||
|
||||
if (out_size)
|
||||
|
||||
Reference in New Issue
Block a user