comparison 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
comparison
equal deleted inserted replaced
29479:55f33b0748c9 29480:a4d8dee13834
39 { 39 {
40 int o; 40 int o;
41 41
42 while ((o = getopt(argc, argv, "m23")) != -1) { 42 while ((o = getopt(argc, argv, "m23")) != -1) {
43 switch (o) { 43 switch (o) {
44 case 'm': 44 case 'm':
45 cpu_caps |= SWS_CPU_CAPS_MMX; 45 cpu_caps |= SWS_CPU_CAPS_MMX;
46 break; 46 break;
47 case '2': 47 case '2':
48 cpu_caps |= SWS_CPU_CAPS_MMX2; 48 cpu_caps |= SWS_CPU_CAPS_MMX2;
49 break; 49 break;
50 case '3': 50 case '3':
51 cpu_caps |= SWS_CPU_CAPS_3DNOW; 51 cpu_caps |= SWS_CPU_CAPS_3DNOW;
52 break; 52 break;
53 default: 53 default:
54 av_log(NULL, AV_LOG_ERROR, "Unknown option %c\n", o); 54 av_log(NULL, AV_LOG_ERROR, "Unknown option %c\n", o);
55 } 55 }
56 } 56 }
57 57
58 return argv[optind]; 58 return argv[optind];
59 } 59 }