From e6e46ead564e36d593c1077f72e133d456a35f24 Mon Sep 17 00:00:00 2001 From: Jack Lau <2366536135@qq.com> Date: Thu, 26 Dec 2024 17:29:14 +0800 Subject: [PATCH] fix typo --- bmf/c_modules/src/ffmpeg_encoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmf/c_modules/src/ffmpeg_encoder.cpp b/bmf/c_modules/src/ffmpeg_encoder.cpp index f2fe41b9..f1cfb314 100644 --- a/bmf/c_modules/src/ffmpeg_encoder.cpp +++ b/bmf/c_modules/src/ffmpeg_encoder.cpp @@ -1480,7 +1480,7 @@ int CFFEncoder::init_codec(int idx, AVFrame *frame) { #ifdef BMF_FFMPEG_VERSION #if BMF_FFMPEG_VERSION < 50 - out_stream->time_base = enc_ctxs_[idx]->time_base; + out_stream->codec->time_base = enc_ctxs_[idx]->time_base; #endif #endif }