Commit 69a1667b authored by Nicolas George's avatar Nicolas George

ffmpeg: mark attachment streams finished.

Fix trac ticket #2083.
parent 9b533061
......@@ -1654,6 +1654,7 @@ loop_end:
ost = new_attachment_stream(o, oc, -1);
ost->stream_copy = 0;
ost->attachment_filename = o->attachments[i];
ost->finished = 1;
ost->st->codec->extradata = attachment;
ost->st->codec->extradata_size = len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment