[FFmpeg-cvslog] ffmpeg_opt: Remove duplicated initialization of attachment stream
Timothy Gu
git at videolan.org
Thu Aug 4 21:17:02 EEST 2016
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Wed Aug 3 21:29:38 2016 -0700| [26648703dbfb7b6b9ee70d4a58d2bcc079c33038] | committer: Timothy Gu
ffmpeg_opt: Remove duplicated initialization of attachment stream
These two fields are already initialized to the same values in
new_attachment_stream().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26648703dbfb7b6b9ee70d4a58d2bcc079c33038
---
ffmpeg_opt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index d995b52..10e66c2 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;
More information about the ffmpeg-cvslog
mailing list