changeset 31868:46473d005417

indent
author ramiro
date Sun, 08 Aug 2010 18:18:13 +0000
parents 6ef694f86f3a
children bf2ae700517d
files libswscale/swscale-test.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale-test.c	Sun Aug 08 18:14:43 2010 +0000
+++ b/libswscale/swscale-test.c	Sun Aug 08 18:18:13 2010 +0000
@@ -94,9 +94,9 @@
         /* An extra 16 bytes is being allocated because some scalers may write
          * out of bounds. */
         if (dstStride[i])
-        dst[i]= av_mallocz(dstStride[i]*dstH+16);
+            dst[i]= av_mallocz(dstStride[i]*dstH+16);
         if (refStride[i])
-        out[i]= av_mallocz(refStride[i]*h);
+            out[i]= av_mallocz(refStride[i]*h);
         if ((dstStride[i] && !dst[i]) || (refStride[i] && !out[i])) {
             perror("Malloc");
             res = -1;
@@ -159,9 +159,9 @@
 
     for (i=0; i<4; i++) {
         if (dstStride[i])
-        av_free(dst[i]);
+            av_free(dst[i]);
         if (refStride[i])
-        av_free(out[i]);
+            av_free(out[i]);
     }
 
     return res;
@@ -202,7 +202,7 @@
                 av_fill_image_linesizes(srcStride, srcFormat, srcW);
                 for (p = 0; p < 4; p++) {
                     if (srcStride[p])
-                    src[p] = av_mallocz(srcStride[p]*srcH+16);
+                        src[p] = av_mallocz(srcStride[p]*srcH+16);
                     if (srcStride[p] && !src[p]) {
                         perror("Malloc");
                         return;
@@ -227,7 +227,7 @@
                 sws_freeContext(srcContext);
                 for (p = 0; p < 4; p++)
                     if (srcStride[p])
-                    av_free(src[p]);
+                        av_free(src[p]);
             }
         }
     }