[FFmpeg-cvslog] ffmpeg_opt: Fix forcing fourccs

Michael Niedermayer git at videolan.org
Sun Jul 5 23:08:58 CEST 2015


ffmpeg | branch: release/2.7 | Michael Niedermayer <michaelni at gmx.at> | Wed Jul  1 05:10:51 2015 +0200| [a7fa1c9b2b182c6ced9a218fa77196e5e62d378f] | committer: Carl Eugen Hoyos

ffmpeg_opt: Fix forcing fourccs

Fixes Ticket4682

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 8750aef3d65c0d52946a9b52eba5f5203280b548)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a7fa1c9b2b182c6ced9a218fa77196e5e62d378f
---

 ffmpeg_opt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 79cb5ca..3cdabb4 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -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;
     }
 



More information about the ffmpeg-cvslog mailing list