diff beosthread.c @ 2967:ef2149182f1c libavcodec

COSMETICS: Remove all trailing whitespace.
author diego
date Sat, 17 Dec 2005 18:14:38 +0000
parents df02930c138b
children bfabfdf9ce55
line wrap: on
line diff
--- a/beosthread.c	Sat Dec 17 11:31:56 2005 +0000
+++ b/beosthread.c	Sat Dec 17 18:14:38 2005 +0000
@@ -67,7 +67,7 @@
 //printf("thread_func %X signal complete\n", (int)v); fflush(stdout);
         release_sem(c->done_sem);
     }
-    
+
     return B_OK;
 }
 
@@ -81,7 +81,7 @@
     int32 ret;
 
     for(i=0; i<s->thread_count; i++){
-        
+
         c[i].func= NULL;
         release_sem(c[i].work_sem);
         wait_for_thread(c[i].thread, &ret);
@@ -95,10 +95,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++){
@@ -110,7 +110,7 @@
     }
     for(i=0; i<count; i++){
         acquire_sem(c[i].done_sem);
-        
+
         c[i].func= NULL;
         if(ret) ret[i]= c[i].ret;
     }
@@ -126,7 +126,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;
@@ -142,7 +142,7 @@
         resume_thread(c[i].thread );
     }
 //printf("init done\n"); fflush(stdout);
-    
+
     s->execute= avcodec_thread_execute;
 
     return 0;