[FFmpeg-cvslog] fftools/ffmpeg_mux: reindent

Anton Khirnov git at videolan.org
Thu Apr 13 16:42:09 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar 28 10:44:34 2023 +0200| [c1764d067df1593808728c378ead9cf6fca30084] | committer: Anton Khirnov

fftools/ffmpeg_mux: reindent

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

 fftools/ffmpeg_mux.c | 56 ++++++++++++++++++++++++++--------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c
index 5acd3b9b9d..f3a3a9b7a2 100644
--- a/fftools/ffmpeg_mux.c
+++ b/fftools/ffmpeg_mux.c
@@ -639,37 +639,37 @@ static int check_written(OutputFile *of)
 
 static void mux_final_stats(Muxer *mux)
 {
-        OutputFile *of = &mux->of;
-        uint64_t total_packets = 0, total_size = 0;
-
-        av_log(NULL, AV_LOG_VERBOSE, "Output file #%d (%s):\n",
-               of->index, of->url);
-
-        for (int j = 0; j < of->nb_streams; j++) {
-            OutputStream *ost = of->streams[j];
-            enum AVMediaType type = ost->st->codecpar->codec_type;
-
-            total_size    += ost->data_size_mux;
-            total_packets += atomic_load(&ost->packets_written);
-
-            av_log(NULL, AV_LOG_VERBOSE, "  Output stream #%d:%d (%s): ",
-                   of->index, j, av_get_media_type_string(type));
-            if (ost->enc_ctx) {
-                av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" frames encoded",
-                       ost->frames_encoded);
-                if (type == AVMEDIA_TYPE_AUDIO)
-                    av_log(NULL, AV_LOG_VERBOSE, " (%"PRIu64" samples)", ost->samples_encoded);
-                av_log(NULL, AV_LOG_VERBOSE, "; ");
-            }
+    OutputFile *of = &mux->of;
+    uint64_t total_packets = 0, total_size = 0;
+
+    av_log(NULL, AV_LOG_VERBOSE, "Output file #%d (%s):\n",
+           of->index, of->url);
+
+    for (int j = 0; j < of->nb_streams; j++) {
+        OutputStream *ost = of->streams[j];
+        enum AVMediaType type = ost->st->codecpar->codec_type;
+
+        total_size    += ost->data_size_mux;
+        total_packets += atomic_load(&ost->packets_written);
+
+        av_log(NULL, AV_LOG_VERBOSE, "  Output stream #%d:%d (%s): ",
+               of->index, j, av_get_media_type_string(type));
+        if (ost->enc_ctx) {
+            av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" frames encoded",
+                   ost->frames_encoded);
+            if (type == AVMEDIA_TYPE_AUDIO)
+                av_log(NULL, AV_LOG_VERBOSE, " (%"PRIu64" samples)", ost->samples_encoded);
+            av_log(NULL, AV_LOG_VERBOSE, "; ");
+        }
 
-            av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" packets muxed (%"PRIu64" bytes); ",
-                   atomic_load(&ost->packets_written), ost->data_size_mux);
+        av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" packets muxed (%"PRIu64" bytes); ",
+               atomic_load(&ost->packets_written), ost->data_size_mux);
 
-            av_log(NULL, AV_LOG_VERBOSE, "\n");
-        }
+        av_log(NULL, AV_LOG_VERBOSE, "\n");
+    }
 
-        av_log(NULL, AV_LOG_VERBOSE, "  Total: %"PRIu64" packets (%"PRIu64" bytes) muxed\n",
-               total_packets, total_size);
+    av_log(NULL, AV_LOG_VERBOSE, "  Total: %"PRIu64" packets (%"PRIu64" bytes) muxed\n",
+           total_packets, total_size);
 }
 
 int of_write_trailer(OutputFile *of)



More information about the ffmpeg-cvslog mailing list