diff libswscale/colorspace-test.c @ 29480:a4d8dee13834

Indent libswscale: - Use 4 spaces throughout for indentation; - Fix inconsistent indentation; - Indent function calls and declarations aligning arguments on multiple lines to the column after the opening parentheses; - Align asm code to the column 4 spaces after the call to __asm__(); - Align cases in switch statements to the same column as "switch".
author ramiro
date Sun, 16 Aug 2009 00:32:04 +0000
parents 15e1d6124a6b
children c080f1f5c07e
line wrap: on
line diff
--- a/libswscale/colorspace-test.c	Sat Aug 15 23:41:35 2009 +0000
+++ b/libswscale/colorspace-test.c	Sun Aug 16 00:32:04 2009 +0000
@@ -41,17 +41,17 @@
 
     while ((o = getopt(argc, argv, "m23")) != -1) {
         switch (o) {
-            case 'm':
-                cpu_caps |= SWS_CPU_CAPS_MMX;
-                break;
-            case '2':
-                cpu_caps |= SWS_CPU_CAPS_MMX2;
-                break;
-            case '3':
-                cpu_caps |= SWS_CPU_CAPS_3DNOW;
-                break;
-            default:
-                av_log(NULL, AV_LOG_ERROR, "Unknown option %c\n", o);
+        case 'm':
+            cpu_caps |= SWS_CPU_CAPS_MMX;
+            break;
+        case '2':
+            cpu_caps |= SWS_CPU_CAPS_MMX2;
+            break;
+        case '3':
+            cpu_caps |= SWS_CPU_CAPS_3DNOW;
+            break;
+        default:
+            av_log(NULL, AV_LOG_ERROR, "Unknown option %c\n", o);
         }
     }