[FFmpeg-devel] [PATCH 1/2] lavc/libx264: minor format fix

Jun Zhao mypopy at gmail.com
Sat Jun 29 04:49:58 EEST 2024


From: Jun Zhao <mypopydev at gmail.com>

Remove redundant semicolons

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavcodec/libx264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 8186f68aec..d07a65a103 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -725,7 +725,7 @@ static int X264_frame(AVCodecContext *ctx, AVPacket *pkt, const AVFrame *frame,
 
                 /* SSE = MSE * width * height / scale -> because of possible chroma downsampling */
                 sse[i] = (int64_t)floor(mse * plane_size + .5);
-            };
+            }
 
             errors = sse;
         }
-- 
2.25.1



More information about the ffmpeg-devel mailing list