diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-15 08:54:27 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-15 08:58:11 +0100 |
commit | 0076639965a0970512296342d1f6c38ce990661e (patch) | |
tree | ff75f88381106d261d33765b8bf8e13dd93546fe /avconv.c | |
parent | d8fbae3c3c63505774288abe7a98404a507b60e3 (diff) | |
download | ffmpeg-0076639965a0970512296342d1f6c38ce990661e.tar.gz |
avconv: skip attached files when selecting streams to read from.
Fixes Bug 473 / invalid reads when using -attach.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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] || |