full_buffers and buffered_bytes must be volatile because they are used from
commit8831008bb5d6d2e36b5e577043a77a801814aac1
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 5 Mar 2009 12:25:10 +0000 (5 12:25 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 5 Mar 2009 12:25:10 +0000 (5 12:25 +0000)
treeb2d2d50944658fcb4d92e8e708ce19932f0417e7
parent3b0f23d1cfa33596e554e1d3662db3daa6f02b46
full_buffers and buffered_bytes must be volatile because they are used from
different threads, hopefully this fixes an uninit hang.
The code still relies on luck for thread-safety though.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28811 b3059339-0415-0410-9bf9-f77b7e298cf2
libao2/ao_win32.c