changeset 9325:2cf20144e7cb libavcodec

Reindent after the last patch.
author stefano
date Tue, 31 Mar 2009 22:53:48 +0000
parents f8cc0e2e7740
children 53216e3644e7
files pixdesc.h
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/pixdesc.h	Tue Mar 31 22:52:30 2009 +0000
+++ b/pixdesc.h	Tue Mar 31 22:53:48 2009 +0000
@@ -118,17 +118,17 @@
             *dst++= val;
         }
     } else {
-    const uint8_t *p = data[plane]+ y*linesize[plane] + x*step + comp.offset_plus1-1;
+        const uint8_t *p = data[plane]+ y*linesize[plane] + x*step + comp.offset_plus1-1;
 
-    while(w--){
-        int val;
-        if(flags & PIX_FMT_BE) val= AV_RB16(p);
-        else                   val= AV_RL16(p);
-        val = (val>>shift) & mask;
-        if(flags & PIX_FMT_PAL)
-            val= data[1][4*val + c];
+        while(w--){
+            int val;
+            if(flags & PIX_FMT_BE) val= AV_RB16(p);
+            else                   val= AV_RL16(p);
+            val = (val>>shift) & mask;
+            if(flags & PIX_FMT_PAL)
+                val= data[1][4*val + c];
             p+= step;
-        *dst++= val;
-    }
+            *dst++= val;
+        }
     }
 }