diff w32thread.c @ 2967:ef2149182f1c libavcodec

COSMETICS: Remove all trailing whitespace.
author diego
date Sat, 17 Dec 2005 18:14:38 +0000
parents 7366bb5c363f
children 0b546eab515d
line wrap: on
line diff
--- a/w32thread.c	Sat Dec 17 11:31:56 2005 +0000
+++ b/w32thread.c	Sat Dec 17 18:14:38 2005 +0000
@@ -50,7 +50,7 @@
 //printf("thread_func %X signal complete\n", (int)v); fflush(stdout);
         ReleaseSemaphore(c->done_sem, 1, 0);
     }
-    
+
     return 0;
 }
 
@@ -63,7 +63,7 @@
     int i;
 
     for(i=0; i<s->thread_count; i++){
-        
+
         c[i].func= NULL;
         ReleaseSemaphore(c[i].work_sem, 1, 0);
         WaitForSingleObject(c[i].thread, INFINITE);
@@ -77,10 +77,10 @@
 int avcodec_thread_execute(AVCodecContext *s, int (*func)(AVCodecContext *c2, void *arg2),void **arg, int *ret, int count){
     ThreadContext *c= s->thread_opaque;
     int i;
-    
+
     assert(s == c->avctx);
     assert(count <= s->thread_count);
-    
+
     /* note, we can be certain that this is not called with the same AVCodecContext by different threads at the same time */
 
     for(i=0; i<count; i++){
@@ -92,7 +92,7 @@
     }
     for(i=0; i<count; i++){
         WaitForSingleObject(c[i].done_sem, INFINITE);
-        
+
         c[i].func= NULL;
         if(ret) ret[i]= c[i].ret;
     }
@@ -109,7 +109,7 @@
     assert(!s->thread_opaque);
     c= av_mallocz(sizeof(ThreadContext)*thread_count);
     s->thread_opaque= c;
-    
+
     for(i=0; i<thread_count; i++){
 //printf("init semaphors %d\n", i); fflush(stdout);
         c[i].avctx= s;
@@ -124,7 +124,7 @@
         if( !c[i].thread ) goto fail;
     }
 //printf("init done\n"); fflush(stdout);
-    
+
     s->execute= avcodec_thread_execute;
 
     return 0;