[FFmpeg-devel] [PATCH 2/2] avcodec/h264dec: Reindent after the previous commit

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Feb 19 14:34:22 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/h264dec.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 5cffeafc6b..b4973fce29 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -125,16 +125,16 @@ void ff_h264_draw_horiz_band(const H264Context *h, H264SliceContext *sl,
     desc   = av_pix_fmt_desc_get(avctx->pix_fmt);
     vshift = desc->log2_chroma_h;
 
-        offset[0] = y * src->linesize[0];
-        offset[1] =
-        offset[2] = (y >> vshift) * src->linesize[1];
-        for (int i = 3; i < AV_NUM_DATA_POINTERS; i++)
-            offset[i] = 0;
+    offset[0] = y * src->linesize[0];
+    offset[1] =
+    offset[2] = (y >> vshift) * src->linesize[1];
+    for (int i = 3; i < AV_NUM_DATA_POINTERS; i++)
+        offset[i] = 0;
 
-        emms_c();
+    emms_c();
 
-        avctx->draw_horiz_band(avctx, src, offset,
-                               y, h->picture_structure, height);
+    avctx->draw_horiz_band(avctx, src, offset,
+                           y, h->picture_structure, height);
 }
 
 void ff_h264_free_tables(H264Context *h)
-- 
2.34.1



More information about the ffmpeg-devel mailing list