[FFmpeg-devel] [PATCH] ffmpeg: mark attachment streams finished.

Nicolas George nicolas.george at normalesup.org
Tue Jan 1 01:44:06 CET 2013


Fix trac ticket #2083.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 ffmpeg_opt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index fcd6048..84ba36c 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1654,6 +1654,7 @@ loop_end:
         ost = new_attachment_stream(o, oc, -1);
         ost->stream_copy               = 0;
         ost->attachment_filename       = o->attachments[i];
+        ost->finished                  = 1;
         ost->st->codec->extradata      = attachment;
         ost->st->codec->extradata_size = len;
 
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list