There are never any packets for those streams.
Fixes an infinite loop with -attach.
---
 avconv_opt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/avconv_opt.c b/avconv_opt.c
index 30fbadf..2c43da2 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -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;
 }
 
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to