[FFmpeg-cvslog] r18292 - trunk/libavcodec/pixdesc.h

stefano subversion
Wed Apr 1 00:53:48 CEST 2009


Author: stefano
Date: Wed Apr  1 00:53:48 2009
New Revision: 18292

Log:
Reindent after the last patch.

Modified:
   trunk/libavcodec/pixdesc.h

Modified: trunk/libavcodec/pixdesc.h
==============================================================================
--- trunk/libavcodec/pixdesc.h	Wed Apr  1 00:52:30 2009	(r18291)
+++ trunk/libavcodec/pixdesc.h	Wed Apr  1 00:53:48 2009	(r18292)
@@ -118,17 +118,17 @@ static inline void read_line(uint16_t *d
             *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;
+        }
     }
 }



More information about the ffmpeg-cvslog mailing list