mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
ffmpeg_opt: Fix forcing fourccs
Fixes Ticket4682 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8750aef3d65c0d52946a9b52eba5f5203280b548)
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…
x
Reference in New Issue
Block a user