diff mbox series

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

Message ID 1591279975-31536-1-git-send-email-mypopydev@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/3] fftools/ffmpeg: cosmetics
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Jun Zhao June 4, 2020, 2:12 p.m. UTC
From: Jun Zhao <barryjzhao@tencent.com>

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

Patch

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;