[FFmpeg-devel] [PATCH 32/36] fftools/ffmpeg: reindent after previous commit

Anton Khirnov anton at khirnov.net
Wed May 17 13:20:25 EEST 2023


---
 fftools/ffmpeg_dec.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/fftools/ffmpeg_dec.c b/fftools/ffmpeg_dec.c
index 73f826c76a..58bb7a7344 100644
--- a/fftools/ffmpeg_dec.c
+++ b/fftools/ffmpeg_dec.c
@@ -232,17 +232,17 @@ static int decode_video(InputStream *ist, AVFrame *frame)
                    ist->par->video_delay);
     }
 
-        if (ist->dec_ctx->width  != frame->width ||
-            ist->dec_ctx->height != frame->height ||
-            ist->dec_ctx->pix_fmt != frame->format) {
-            av_log(NULL, AV_LOG_DEBUG, "Frame parameters mismatch context %d,%d,%d != %d,%d,%d\n",
-                frame->width,
-                frame->height,
-                frame->format,
-                ist->dec_ctx->width,
-                ist->dec_ctx->height,
-                ist->dec_ctx->pix_fmt);
-        }
+    if (ist->dec_ctx->width  != frame->width ||
+        ist->dec_ctx->height != frame->height ||
+        ist->dec_ctx->pix_fmt != frame->format) {
+        av_log(NULL, AV_LOG_DEBUG, "Frame parameters mismatch context %d,%d,%d != %d,%d,%d\n",
+            frame->width,
+            frame->height,
+            frame->format,
+            ist->dec_ctx->width,
+            ist->dec_ctx->height,
+            ist->dec_ctx->pix_fmt);
+    }
 
     if(ist->top_field_first>=0)
         frame->flags |= AV_FRAME_FLAG_TOP_FIELD_FIRST;
-- 
2.39.2



More information about the ffmpeg-devel mailing list