Browse Source

ffmpeg_opt: Remove duplicated initialization of attachment stream

These two fields are already initialized to the same values in
new_attachment_stream().
tags/n3.2
Timothy Gu 9 years ago
parent
commit
26648703db
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      ffmpeg_opt.c

+ 0
- 2
ffmpeg_opt.c View File

@@ -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;



Loading…
Cancel
Save