[FFmpeg-cvslog] fftools/ffmpeg_demux: reindent
Anton Khirnov
git at videolan.org
Thu Apr 13 16:42:19 EEST 2023
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar 28 11:33:36 2023 +0200| [28e258a8094b9c0baf6a0fbb2414673179032e64] | committer: Anton Khirnov
fftools/ffmpeg_demux: reindent
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=28e258a8094b9c0baf6a0fbb2414673179032e64
---
fftools/ffmpeg_demux.c | 52 +++++++++++++++++++++++++-------------------------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 8fafbc3354..a2bfd0ab95 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -482,37 +482,37 @@ int ifile_get_packet(InputFile *f, AVPacket **pkt)
static void demux_final_stats(Demuxer *d)
{
- InputFile *f = &d->f;
- uint64_t total_packets = 0, total_size = 0;
+ InputFile *f = &d->f;
+ uint64_t total_packets = 0, total_size = 0;
- av_log(NULL, AV_LOG_VERBOSE, "Input file #%d (%s):\n",
- f->index, f->ctx->url);
+ av_log(NULL, AV_LOG_VERBOSE, "Input file #%d (%s):\n",
+ f->index, f->ctx->url);
- for (int j = 0; j < f->nb_streams; j++) {
- InputStream *ist = f->streams[j];
- enum AVMediaType type = ist->par->codec_type;
-
- total_size += ist->data_size;
- total_packets += ist->nb_packets;
-
- av_log(NULL, AV_LOG_VERBOSE, " Input stream #%d:%d (%s): ",
- f->index, j, av_get_media_type_string(type));
- av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" packets read (%"PRIu64" bytes); ",
- ist->nb_packets, ist->data_size);
-
- if (ist->decoding_needed) {
- av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" frames decoded",
- ist->frames_decoded);
- if (type == AVMEDIA_TYPE_AUDIO)
- av_log(NULL, AV_LOG_VERBOSE, " (%"PRIu64" samples)", ist->samples_decoded);
- av_log(NULL, AV_LOG_VERBOSE, "; ");
- }
+ for (int j = 0; j < f->nb_streams; j++) {
+ InputStream *ist = f->streams[j];
+ enum AVMediaType type = ist->par->codec_type;
+
+ total_size += ist->data_size;
+ total_packets += ist->nb_packets;
- av_log(NULL, AV_LOG_VERBOSE, "\n");
+ av_log(NULL, AV_LOG_VERBOSE, " Input stream #%d:%d (%s): ",
+ f->index, j, av_get_media_type_string(type));
+ av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" packets read (%"PRIu64" bytes); ",
+ ist->nb_packets, ist->data_size);
+
+ if (ist->decoding_needed) {
+ av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" frames decoded",
+ ist->frames_decoded);
+ if (type == AVMEDIA_TYPE_AUDIO)
+ av_log(NULL, AV_LOG_VERBOSE, " (%"PRIu64" samples)", ist->samples_decoded);
+ av_log(NULL, AV_LOG_VERBOSE, "; ");
}
- av_log(NULL, AV_LOG_VERBOSE, " Total: %"PRIu64" packets (%"PRIu64" bytes) demuxed\n",
- total_packets, total_size);
+ av_log(NULL, AV_LOG_VERBOSE, "\n");
+ }
+
+ av_log(NULL, AV_LOG_VERBOSE, " Total: %"PRIu64" packets (%"PRIu64" bytes) demuxed\n",
+ total_packets, total_size);
}
static void ist_free(InputStream **pist)
More information about the ffmpeg-cvslog
mailing list