You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avconv: use correct output stream index when checking max_frames
This commit is contained in:
4
avconv.c
4
avconv.c
@@ -2333,8 +2333,8 @@ static int transcode(OutputFile *output_files,
|
|||||||
}
|
}
|
||||||
if (ost->frame_number >= ost->max_frames) {
|
if (ost->frame_number >= ost->max_frames) {
|
||||||
int j;
|
int j;
|
||||||
for (j = of->ost_index; j < of->ctx->nb_streams; j++)
|
for (j = 0; j < of->ctx->nb_streams; j++)
|
||||||
output_streams[j].is_past_recording_time = 1;
|
output_streams[of->ost_index + j].is_past_recording_time = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user