[FFmpeg-cvslog] fftools/opt_common: Don't add unnecessary " "

Andreas Rheinhardt git at videolan.org
Wed Aug 2 19:30:09 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Jul 31 02:33:15 2023 +0200| [739f24d833f617376b466ece04b6db00ad8fcd56] | committer: Andreas Rheinhardt

fftools/opt_common: Don't add unnecessary " "

Before:
D.AIL. smackaudio           Smacker audio (decoders: smackaud )
After:
D.AIL. smackaudio           Smacker audio (decoders: smackaud)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=739f24d833f617376b466ece04b6db00ad8fcd56
---

 fftools/opt_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fftools/opt_common.c b/fftools/opt_common.c
index 3881d5bbef..02d7048c42 100644
--- a/fftools/opt_common.c
+++ b/fftools/opt_common.c
@@ -615,10 +615,10 @@ static void print_codecs_for_id(enum AVCodecID id, int encoder)
     void *iter = NULL;
     const AVCodec *codec;
 
-    printf(" (%s: ", encoder ? "encoders" : "decoders");
+    printf(" (%s:", encoder ? "encoders" : "decoders");
 
     while ((codec = next_codec_for_id(id, &iter, encoder)))
-        printf("%s ", codec->name);
+        printf(" %s", codec->name);
 
     printf(")");
 }



More information about the ffmpeg-cvslog mailing list