diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-01 16:36:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-01 17:15:56 +0200 |
commit | 229022e788aa63cd73a50aa9a3112ca2fcbda9f8 (patch) | |
tree | 83e39c86a1661c62dfc8258bb086649ed8b74088 /ffmpeg_opt.c | |
parent | 0949bbc4318214447435cf32a2796d80b724bc22 (diff) | |
download | ffmpeg-229022e788aa63cd73a50aa9a3112ca2fcbda9f8.tar.gz |
ffmpeg_opt: fix attachment streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 3cc09ec084..807d54ad27 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1949,8 +1949,8 @@ loop_end: ost->stream_copy = 0; ost->attachment_filename = o->attachments[i]; ost->finished = 1; - ost->st->codec->extradata = attachment; - ost->st->codec->extradata_size = len; + ost->enc_ctx->extradata = attachment; + ost->enc_ctx->extradata_size = len; p = strrchr(o->attachments[i], '/'); av_dict_set(&ost->st->metadata, "filename", (p && *p) ? p + 1 : o->attachments[i], AV_DICT_DONT_OVERWRITE); |