PR #24426 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24426 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24426.patch
The helper also used by other codec. >From 66f7bf4dedba715b88fee14558d86087de95ec48 Mon Sep 17 00:00:00 2001 From: Zhao Zhili <[email protected]> Date: Tue, 8 Sep 2026 21:18:35 +0800 Subject: [PATCH] avcodec/videotoolboxenc: drop h264 suffix from create_encoder_dict The helper also used by other codec. --- libavcodec/videotoolboxenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 85561c0479..536565a252 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -2459,8 +2459,8 @@ static int create_cv_pixel_buffer(AVCodecContext *avctx, return 0; } -static int create_encoder_dict_h264(const AVFrame *frame, - CFDictionaryRef* dict_out) +static int create_encoder_dict(const AVFrame *frame, + CFDictionaryRef* dict_out) { CFDictionaryRef dict = NULL; if (frame->pict_type == AV_PICTURE_TYPE_I) { @@ -2493,7 +2493,7 @@ static int vtenc_send_frame(AVCodecContext *avctx, if (status) goto out; - status = create_encoder_dict_h264(frame, &frame_dict); + status = create_encoder_dict(frame, &frame_dict); if (status) goto out; -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
