I realized there are a couple more allocations that can be skipped here when a codec is not on the allow list. Here's the updated patch. - dale On Mon, Jul 29, 2024 at 10:19 AM Dale Curtis wrote: > This ensures that if a codec isn't on codec_whitelist, its VUI > information can still be populated during find_stream_info() > via parsers. > > Signed-off-by: Dale Curtis > --- > libavcodec/avcodec.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >