ffmpeg: mark attachment streams finished.

Fix trac ticket #2083.
This commit is contained in:
Nicolas George 2013-01-01 01:23:19 +01:00
parent 9b53306178
commit 69a1667b06

View File

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