summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-07 18:15:39 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-15 13:32:01 +0200
commitfd980b261536fbd30f2c8df42779ecb09bf1b240 (patch)
treed14b6c22e6b3c5943a129418b7d7311c437acc80
parent9429624a76107020b5911f8307f366fed386b336 (diff)
downloadffmpeg-fd980b261536fbd30f2c8df42779ecb09bf1b240.tar.gz
fftools/ffmpeg_demux: reindent after previous commit
-rw-r--r--fftools/ffmpeg_demux.c20
1 files 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)