OSDN Git Service

Reindent after the last patch.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 31 Mar 2009 22:53:48 +0000 (22:53 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 31 Mar 2009 22:53:48 +0000 (22:53 +0000)
Originally committed as revision 18292 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/pixdesc.h

index 6ff07fb..bc0c555 100644 (file)
@@ -118,17 +118,17 @@ static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int li
             *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;
+        }
     }
 }