changeset 22993:5e6fa9cabacc

big surprise.. uau broke gcc 2.95 as usual
author rfelker
date Tue, 17 Apr 2007 07:06:44 +0000
parents e8026449a338
children ac77d9ef8c83
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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: