mirror of https://git.ffmpeg.org/ffmpeg.git
ffmpeg_opt: Fix forcing fourccs
Fixes Ticket4682
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8750aef3d6
)
This commit is contained in:
parent
6ff54eb87b
commit
a7fa1c9b2b
|
@ -1203,6 +1203,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue