[FFmpeg-devel] [PATCH 1/3] fftools/ffmpeg: cosmetics

Jun Zhao mypopydev at gmail.com
Thu Jun 4 17:12:53 EEST 2020


From: Jun Zhao <barryjzhao at tencent.com>

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 fftools/ffmpeg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 2e9448e..93a86b9 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3118,8 +3118,7 @@ static int init_output_stream_streamcopy(OutputStream *ost)
                          (AVRational){ par_dst->height, par_dst->width });
             av_log(NULL, AV_LOG_WARNING, "Overriding aspect ratio "
                    "with stream copy may produce invalid files\n");
-            }
-        else if (ist->st->sample_aspect_ratio.num)
+        } else if (ist->st->sample_aspect_ratio.num)
             sar = ist->st->sample_aspect_ratio;
         else
             sar = par_src->sample_aspect_ratio;
-- 
2.7.4



More information about the ffmpeg-devel mailing list