Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-08-04 07:29:38 +0300
committerTimothy Gu <timothygu99@gmail.com>2016-08-04 07:29:38 +0300
commit26648703dbfb7b6b9ee70d4a58d2bcc079c33038 (patch)
tree127bcc7aa662b6bfa0e82c173f449a853a6b273c /ffmpeg_opt.c
parente5c79cd854922693c80155a1744c9e93f54bce02 (diff)
ffmpeg_opt: Remove duplicated initialization of attachment stream
These two fields are already initialized to the same values in new_attachment_stream().
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index d995b528f6..10e66c2f7e 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2220,9 +2220,7 @@ loop_end:
avio_read(pb, attachment, len);
ost = new_attachment_stream(o, oc, -1);
- ost->stream_copy = 1;
ost->attachment_filename = o->attachments[i];
- ost->finished = 1;
ost->st->codec->extradata = attachment;
ost->st->codec->extradata_size = len;