mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-08 07:38:30 +00:00
avconv: skip attached files when selecting streams to read from.
Fixes Bug 473 / invalid reads when using -attach.
This commit is contained in:
parent
d8fbae3c3c
commit
0076639965
2
avconv.c
2
avconv.c
@ -2704,6 +2704,8 @@ static int transcode(OutputFile *output_files,
|
||||
double opts;
|
||||
ost = &output_streams[i];
|
||||
of = &output_files[ost->file_index];
|
||||
if (ost->source_index < 0)
|
||||
continue;
|
||||
os = output_files[ost->file_index].ctx;
|
||||
ist = &input_streams[ost->source_index];
|
||||
if (ost->is_past_recording_time || no_packet[ist->file_index] ||
|
||||
|
Loading…
Reference in New Issue
Block a user