[FFmpeg-cvslog] ffmpeg_opt: Fix stream copy flag for attachments

Michael Niedermayer git at videolan.org
Sun Jul 19 12:51:17 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Jul 19 12:35:10 2015 +0200| [843be56ee18928ecf80bcb20d235c4f9cab5a8fd] | committer: Michael Niedermayer

ffmpeg_opt: Fix stream copy flag for attachments

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=843be56ee18928ecf80bcb20d235c4f9cab5a8fd
---

 ffmpeg_opt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index a356cad..31171b1 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2092,7 +2092,7 @@ loop_end:
         avio_read(pb, attachment, len);
 
         ost = new_attachment_stream(o, oc, -1);
-        ost->stream_copy               = 0;
+        ost->stream_copy               = 1;
         ost->attachment_filename       = o->attachments[i];
         ost->finished                  = 1;
         ost->st->codec->extradata      = attachment;



More information about the ffmpeg-cvslog mailing list