[FFmpeg-devel] [PATCH] ffmpeg: Move statement to a single line

Michael Bradshaw mjbshaw at gmail.com
Wed Dec 28 07:39:24 EET 2016


From: Michael Bradshaw <mjbshaw at google.com>

Signed-off-by: Michael Bradshaw <mjbshaw at google.com>
---
 ffmpeg_opt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 6862456..af71604 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1384,8 +1384,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->codecpar->codec_tag =
-        ost->enc_ctx->codec_tag = tag;
+        ost->st->codecpar->codec_tag = ost->enc_ctx->codec_tag = tag;
     }
 
     MATCH_PER_STREAM_OPT(qscale, dbl, qscale, oc, st);
-- 
2.10.1 (Apple Git-78)



More information about the ffmpeg-devel mailing list