diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index eacb5bbd9b5820b9e54a582db1a733cd69c5752f..350fa4016bcb48b743295a587cae0649584332d1 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -331,7 +331,7 @@ void ff_mpeg1_encode_slice_header(MpegEncContext *s){
         put_header(s, SLICE_MIN_START_CODE + (s->mb_y & 127));
         put_bits(&s->pb, 3, s->mb_y >> 7);  /* slice_vertical_position_extension */
     } else {
-    put_header(s, SLICE_MIN_START_CODE + s->mb_y);
+        put_header(s, SLICE_MIN_START_CODE + s->mb_y);
     }
     put_qscale(s);
     put_bits(&s->pb, 1, 0); /* slice extra information */