forked from FFmpeg/FFmpeg
avconv: use correct output stream index when checking max_frames
This commit is contained in:
parent
240ae356e9
commit
9b921a8272
1 changed files with 2 additions and 2 deletions
4
avconv.c
4
avconv.c
|
@ -2333,8 +2333,8 @@ static int transcode(OutputFile *output_files,
|
|||
}
|
||||
if (ost->frame_number >= ost->max_frames) {
|
||||
int j;
|
||||
for (j = of->ost_index; j < of->ctx->nb_streams; j++)
|
||||
output_streams[j].is_past_recording_time = 1;
|
||||
for (j = 0; j < of->ctx->nb_streams; j++)
|
||||
output_streams[of->ost_index + j].is_past_recording_time = 1;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue