changeset 1015:f332df5d8da5 libavutil

pixdesc: indent
author mru
date Sun, 12 Sep 2010 21:39:57 +0000
parents 3728a7291737
children 4c26dcb90bc6
files pixdesc.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/pixdesc.c	Sun Sep 12 21:39:54 2010 +0000
+++ b/pixdesc.c	Sun Sep 12 21:39:57 2010 +0000
@@ -102,16 +102,16 @@
                 p += step;
             }
         } else {
-        while (w--) {
-            if (flags & PIX_FMT_BE) {
-                uint16_t val = AV_RB16(p) | (*src++<<shift);
-                AV_WB16(p, val);
-            } else {
-                uint16_t val = AV_RL16(p) | (*src++<<shift);
-                AV_WL16(p, val);
+            while (w--) {
+                if (flags & PIX_FMT_BE) {
+                    uint16_t val = AV_RB16(p) | (*src++<<shift);
+                    AV_WB16(p, val);
+                } else {
+                    uint16_t val = AV_RL16(p) | (*src++<<shift);
+                    AV_WL16(p, val);
+                }
+                p+= step;
             }
-            p+= step;
-        }
         }
     }
 }