ffmpeg_opt: Fix forcing fourccs
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 03:10:51 +0000 (05:10 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 03:10:51 +0000 (05:10 +0200)
Fixes Ticket4682

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c

index f7f6553..5c2bd48 100644 (file)
@@ -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;
     }