summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-19 12:35:10 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-19 12:43:36 +0200
commit843be56ee18928ecf80bcb20d235c4f9cab5a8fd (patch)
tree64369810f81a0cdfc999415750bc3fcea377baf3
parent8534c8c77a509987d6b63ed3b65155c3561b8583 (diff)
ffmpeg_opt: Fix stream copy flag for attachments
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--ffmpeg_opt.c2
1 files changed, 1 insertions, 1 deletions
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;