[FFmpeg-devel] [PATCH] Check codec_whitelist before reinitializing AVCtx.priv_data.
Dale Curtis
dalecurtis at chromium.org
Wed Jul 31 02:14:13 EEST 2024
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 <dalecurtis at chromium.org>
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 <dalecurtis at chromium.org>
> ---
> libavcodec/avcodec.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_reinit_v2.patch
Type: application/octet-stream
Size: 2105 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240730/9519bfa3/attachment.obj>
More information about the ffmpeg-devel
mailing list