[FFmpeg-devel] [PATCH 2/2] avcodec/mpegutils: Simplify indenting

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Mar 23 14:18:32 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/mpegutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c
index 7f499b3d0f..d94e8f422f 100644
--- a/libavcodec/mpegutils.c
+++ b/libavcodec/mpegutils.c
@@ -265,7 +265,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict,
             margin_left++;
 
         av_bprint_init(&buf, 1, AV_BPRINT_SIZE_UNLIMITED);
-        av_bprintf(&buf, "%*s", margin_left, " ");
+        av_bprint_chars(&buf, ' ', margin_left);
 
         n = 0;
         if (avctx->debug & FF_DEBUG_SKIP)
-- 
2.40.1



More information about the ffmpeg-devel mailing list