diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-05 10:31:10 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-05 10:31:10 +0000 |
commit | d5462be87b1740998d7fa3fb9fdd73efaf006a3f (patch) | |
tree | dee520e0ede9934e935350c3363fcc1b383b7aff | |
parent | 8e509479c641e2beb5168694da191681c3edad05 (diff) | |
download | mpv-d5462be87b1740998d7fa3fb9fdd73efaf006a3f.tar.bz2 mpv-d5462be87b1740998d7fa3fb9fdd73efaf006a3f.tar.xz |
CVS is still broken with gcc3. This fixes it.
But please explain _why_ the 'volatile' attribute is needed with these
variables and why is it supposed to protect them ?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3336 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libao2/audio_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/audio_plugin.h b/libao2/audio_plugin.h index e40846b276..59f20d7c05 100644 --- a/libao2/audio_plugin.h +++ b/libao2/audio_plugin.h @@ -26,7 +26,7 @@ typedef struct ao_plugin_data_s float delay_fix; /* Fix delay */ }ao_plugin_data_t; -extern ao_plugin_data_t ao_plugin_data; +extern volatile ao_plugin_data_t ao_plugin_data; // Plugin confuguration data set by cmd-line parameters typedef struct ao_plugin_cfg_s @@ -36,7 +36,7 @@ typedef struct ao_plugin_cfg_s int pl_delay_len; // Number of samples to delay sound output } ao_plugin_cfg_t; -extern ao_plugin_cfg_t ao_plugin_cfg; +extern volatile ao_plugin_cfg_t ao_plugin_cfg; // Configuration defaults #define CFG_DEFAULTS { \ |