From 843be56ee18928ecf80bcb20d235c4f9cab5a8fd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 19 Jul 2015 12:35:10 +0200 Subject: [PATCH] ffmpeg_opt: Fix stream copy flag for attachments Signed-off-by: Michael Niedermayer --- ffmpeg_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index a356cadab4..31171b1bf7 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;