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

cehoyos subversion at mplayerhq.hu
Thu Aug 26 23:06:24 CEST 2010


Author: cehoyos
Date: Thu Aug 26 23:06:24 2010
New Revision: 32021

Log:
Fix compilation with gcc 2.95.3 with some help by Reimar.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	Thu Aug 26 21:24:18 2010	(r32020)
+++ trunk/stream/cache2.c	Thu Aug 26 23:06:24 2010	(r32021)
@@ -366,7 +366,8 @@ static void dummy_sighandler(int x) {
 static void cache_mainloop(cache_vars_t *s) {
     int sleep_count = 0;
 #if FORKED_CACHE
-    struct sigaction sa = { .sa_handler = SIG_IGN };
+    struct sigaction sa = { 0 };
+    sa.sa_handler = SIG_IGN;
     sigaction(SIGUSR1, &sa, NULL);
 #endif
     do {


More information about the MPlayer-cvslog mailing list