[FFmpeg-devel] [PATCH 16/22] fftools/ffmpeg_demux: reindent after previous commit
Anton Khirnov
anton at khirnov.net
Mon May 8 12:17:32 EEST 2023
---
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 1b268719aa..4b1e7e5254 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)
--
2.39.2
More information about the ffmpeg-devel
mailing list