changeset 10643:7f6911429cdc libavcodec

Cosmetics: Reindent after r20679.
author cehoyos
date Sat, 05 Dec 2009 09:41:23 +0000
parents 48ecbc11c8dc
children 5da7180afadf
files mpeg12.c
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Sat Dec 05 09:36:32 2009 +0000
+++ b/mpeg12.c	Sat Dec 05 09:41:23 2009 +0000
@@ -1697,22 +1697,22 @@
     if(mb_y==0 && s->codec_tag == AV_RL32("SLIF")){
         skip_bits1(&s->gb);
     }else{
-    for(;;) {
-        int code = get_vlc2(&s->gb, mbincr_vlc.table, MBINCR_VLC_BITS, 2);
-        if (code < 0){
-            av_log(s->avctx, AV_LOG_ERROR, "first mb_incr damaged\n");
-            return -1;
+        for(;;) {
+            int code = get_vlc2(&s->gb, mbincr_vlc.table, MBINCR_VLC_BITS, 2);
+            if (code < 0){
+                av_log(s->avctx, AV_LOG_ERROR, "first mb_incr damaged\n");
+                return -1;
+            }
+            if (code >= 33) {
+                if (code == 33) {
+                    s->mb_x += 33;
+                }
+                /* otherwise, stuffing, nothing to do */
+            } else {
+                s->mb_x += code;
+                break;
+            }
         }
-        if (code >= 33) {
-            if (code == 33) {
-                s->mb_x += 33;
-            }
-            /* otherwise, stuffing, nothing to do */
-        } else {
-            s->mb_x += code;
-            break;
-        }
-    }
     }
 
     if(s->mb_x >= (unsigned)s->mb_width){