diff mplayer.c @ 22993:5e6fa9cabacc

big surprise.. uau broke gcc 2.95 as usual
author rfelker
date Tue, 17 Apr 2007 07:06:44 +0000
parents 9c2c08ad519f
children 17bf4f4b0715
line wrap: on
line diff
--- a/mplayer.c	Tue Apr 17 07:04:53 2007 +0000
+++ b/mplayer.c	Tue Apr 17 07:06:44 2007 +0000
@@ -193,7 +193,7 @@
 //**************************************************************************//
 
 // Not all functions in mplayer.c take the context as an argument yet
-static MPContext *mpctx = &(MPContext){
+static MPContext mpctx_s = {
     .osd_function = OSD_PLAY,
     .begin_skip = MP_NOPTS_VALUE,
     .play_tree_step = 1,
@@ -205,6 +205,8 @@
 #endif
 };
 
+static MPContext *mpctx = &mpctx_s;
+
 int fixed_vo=0;
 
 // benchmark: