diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index cd65065b0bbd3c8a8a6e230abdf0f418d8cb1334..e55a33a19d02c5b5cee25ee9b61a5ee6abca461d 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -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;