Browse Source

avconv: mark attachment streams as immediately finished

There are never any packets for those streams.
Fixes an infinite loop with -attach.
tags/n2.0
Anton Khirnov 12 years ago
parent
commit
3e175a2a55
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      avconv_opt.c

+ 1
- 0
avconv_opt.c View File

@@ -1096,6 +1096,7 @@ static OutputStream *new_attachment_stream(OptionsContext *o, AVFormatContext *o
{
OutputStream *ost = new_output_stream(o, oc, AVMEDIA_TYPE_ATTACHMENT);
ost->stream_copy = 1;
ost->finished = 1;
return ost;
}



Loading…
Cancel
Save