[MPlayer-cvslog] r27803 - trunk/stream/cache2.c

reimar subversion at mplayerhq.hu
Sun Oct 19 19:28:24 CEST 2008


Author: reimar
Date: Sun Oct 19 19:28:23 2008
New Revision: 27803

Log:
Remove useless casts.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	(original)
+++ trunk/stream/cache2.c	Sun Oct 19 19:28:23 2008
@@ -375,10 +375,10 @@ static void ThreadProc( void *s ){
 // cache thread mainloop:
   signal(SIGTERM,exit_sighandler); // kill
   while(1){
-    if(!cache_fill((cache_vars_t*)s)){
+    if(!cache_fill(s)){
 	 usec_sleep(FILL_USLEEP_TIME); // idle
     }
-    cache_execute_control((cache_vars_t*)s);
+    cache_execute_control(s);
 //	 cache_stats(s->cache_data);
   }
 }



More information about the MPlayer-cvslog mailing list