[FFmpeg-cvslog] fftools/ffmpeg_demux: reindent after previous commit

Anton Khirnov git at videolan.org
Mon May 15 15:16:39 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun May  7 18:15:39 2023 +0200| [fd980b261536fbd30f2c8df42779ecb09bf1b240] | committer: Anton Khirnov

fftools/ffmpeg_demux: reindent after previous commit

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

 fftools/ffmpeg_demux.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 579dbcbe35..f3a6597ddf 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -527,17 +527,17 @@ static void readrate_sleep(Demuxer *d)
 
 static void discard_unused_programs(InputFile *ifile)
 {
-        for (int j = 0; j < ifile->ctx->nb_programs; j++) {
-            AVProgram *p = ifile->ctx->programs[j];
-            int discard  = AVDISCARD_ALL;
+    for (int j = 0; j < ifile->ctx->nb_programs; j++) {
+        AVProgram *p = ifile->ctx->programs[j];
+        int discard  = AVDISCARD_ALL;
 
-            for (int k = 0; k < p->nb_stream_indexes; k++)
-                if (!ifile->streams[p->stream_index[k]]->discard) {
-                    discard = AVDISCARD_DEFAULT;
-                    break;
-                }
-            p->discard = discard;
-        }
+        for (int k = 0; k < p->nb_stream_indexes; k++)
+            if (!ifile->streams[p->stream_index[k]]->discard) {
+                discard = AVDISCARD_DEFAULT;
+                break;
+            }
+        p->discard = discard;
+    }
 }
 
 static void thread_set_name(InputFile *f)



More information about the ffmpeg-cvslog mailing list