mirror of https://git.ffmpeg.org/ffmpeg.git
ffmpeg_opt: Fix forcing fourccs
Fixes Ticket4682 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dec728888f
commit
8750aef3d6
|
@ -1204,6 +1204,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
|
||||||
uint32_t tag = strtol(codec_tag, &next, 0);
|
uint32_t tag = strtol(codec_tag, &next, 0);
|
||||||
if (*next)
|
if (*next)
|
||||||
tag = AV_RL32(codec_tag);
|
tag = AV_RL32(codec_tag);
|
||||||
|
ost->st->codec->codec_tag =
|
||||||
ost->enc_ctx->codec_tag = tag;
|
ost->enc_ctx->codec_tag = tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue