Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-01 18:36:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-01 19:15:56 +0400
commit229022e788aa63cd73a50aa9a3112ca2fcbda9f8 (patch)
tree83e39c86a1661c62dfc8258bb086649ed8b74088 /ffmpeg_opt.c
parent0949bbc4318214447435cf32a2796d80b724bc22 (diff)
ffmpeg_opt: fix attachment streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c4
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);