[FFmpeg-cvslog] avconv: mark attachment streams as immediately finished
Anton Khirnov
git at videolan.org
Fri Mar 15 13:28:29 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Mar 14 09:44:07 2013 +0100| [3e175a2a550f5c2f788e8cd969052e10a5025a27] | committer: Anton Khirnov
avconv: mark attachment streams as immediately finished
There are never any packets for those streams.
Fixes an infinite loop with -attach.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e175a2a550f5c2f788e8cd969052e10a5025a27
---
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;
}
More information about the ffmpeg-cvslog
mailing list