fftools/ffmpeg_demux: narrow variable scope

This commit is contained in:
Marvin Scholz 2024-09-08 22:27:44 +02:00
parent 0753d17664
commit dd002f1588

View File

@ -1888,9 +1888,7 @@ int ifile_open(const OptionsContext *o, const char *filename, Scheduler *sch)
return ret; return ret;
for (int i = 0; i < o->dump_attachment.nb_opt; i++) { for (int i = 0; i < o->dump_attachment.nb_opt; i++) {
int j; for (int j = 0; j < f->nb_streams; j++) {
for (j = 0; j < f->nb_streams; j++) {
InputStream *ist = f->streams[j]; InputStream *ist = f->streams[j];
if (check_stream_specifier(ic, ist->st, o->dump_attachment.opt[i].specifier) == 1) { if (check_stream_specifier(ic, ist->st, o->dump_attachment.opt[i].specifier) == 1) {