summaryrefslogtreecommitdiff
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-01 05:10:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-01 05:10:51 +0200
commit8750aef3d65c0d52946a9b52eba5f5203280b548 (patch)
treeede6e58903099dcb7cb8dbfb49358e63ba4bd092 /ffmpeg_opt.c
parentdec728888f8826e3f2032aec463c3dd1e26ec2a4 (diff)
downloadffmpeg-8750aef3d65c0d52946a9b52eba5f5203280b548.tar.gz
ffmpeg_opt: Fix forcing fourccs
Fixes Ticket4682 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index f7f65535d2..5c2bd48869 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1204,6 +1204,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
uint32_t tag = strtol(codec_tag, &next, 0);
if (*next)
tag = AV_RL32(codec_tag);
+ ost->st->codec->codec_tag =
ost->enc_ctx->codec_tag = tag;
}