This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 059654a73bc13063fdb8a0eb7abfb566bf4987c9 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Feb 8 16:21:16 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Feb 13 09:21:33 2026 +0100 avcodec/ratecontrol: Remove unnecessary emms_c() ff_rate_control_init/uninit() are only called during codec init or close and no DSP calls happen in these, so there is no need to reset the floating point state. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/ratecontrol.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 7f89b5b218..a789277c9f 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -533,7 +533,6 @@ av_cold int ff_rate_control_init(MPVMainEncContext *const m) "qp2bits", NULL }; - emms_c(); if (!avctx->rc_max_available_vbv_use && avctx->rc_buffer_size) { if (avctx->rc_max_rate) { @@ -710,8 +709,6 @@ av_cold int ff_rate_control_init(MPVMainEncContext *const m) av_cold void ff_rate_control_uninit(RateControlContext *rcc) { - emms_c(); - // rc_eq is always managed via an AVOption and therefore not freed here. av_expr_free(rcc->rc_eq_eval); rcc->rc_eq_eval = NULL; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
