[FFmpeg-cvslog] avcodec/mpegvideo_enc: Reindent after the previous commit

Andreas Rheinhardt git at videolan.org
Wed Mar 26 06:10:17 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Mar 16 09:39:37 2025 +0100| [a1f18b195e44506dfc0d3c9d894c1be8ea202847] | committer: Andreas Rheinhardt

avcodec/mpegvideo_enc: Reindent after the previous commit

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1f18b195e44506dfc0d3c9d894c1be8ea202847
---

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

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 680ce7d153..85d6b1faff 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -483,11 +483,11 @@ static av_cold int init_buffers(MPVMainEncContext *const m, AVCodecContext *avct
 
         s2->p_mv_table            = tmp_mv_table;
         if (has_b_frames) {
-        s2->b_forw_mv_table       = tmp_mv_table += mv_table_size;
-        s2->b_back_mv_table       = tmp_mv_table += mv_table_size;
-        s2->b_bidir_forw_mv_table = tmp_mv_table += mv_table_size;
-        s2->b_bidir_back_mv_table = tmp_mv_table += mv_table_size;
-        s2->b_direct_mv_table     = tmp_mv_table += mv_table_size;
+            s2->b_forw_mv_table       = tmp_mv_table += mv_table_size;
+            s2->b_back_mv_table       = tmp_mv_table += mv_table_size;
+            s2->b_bidir_forw_mv_table = tmp_mv_table += mv_table_size;
+            s2->b_bidir_back_mv_table = tmp_mv_table += mv_table_size;
+            s2->b_direct_mv_table     = tmp_mv_table += mv_table_size;
         }
 
         if (s->p_field_select_table[0]) { // MPEG-4 or INTERLACED_ME above
@@ -496,14 +496,14 @@ static av_cold int init_buffers(MPVMainEncContext *const m, AVCodecContext *avct
             s2->p_field_select_table[1] = field_select += 2 * mv_table_size;
 
             if (has_b_frames) {
-            for (int j = 0; j < 2; j++) {
-                for (int k = 0; k < 2; k++) {
-                    for (int l = 0; l < 2; l++)
-                        s2->b_field_mv_table[j][k][l] = tmp_mv_table += mv_table_size;
-                    s2->b_field_select_table[j][k] = field_select += 2 * mv_table_size;
+                for (int j = 0; j < 2; j++) {
+                    for (int k = 0; k < 2; k++) {
+                        for (int l = 0; l < 2; l++)
+                            s2->b_field_mv_table[j][k][l] = tmp_mv_table += mv_table_size;
+                        s2->b_field_select_table[j][k] = field_select += 2 * mv_table_size;
+                    }
                 }
             }
-            }
         }
     }
 



More information about the ffmpeg-cvslog mailing list