diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-23 21:06:11 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-23 21:06:11 -0700 |
commit | 8439e0ce44b895931fd821da5a31fa53e3fcd421 (patch) | |
tree | ae26478cf5f35edbde4c5be43f7d8dce2a8d6e74 /src/metadata_pipe.c | |
parent | d9eaeafe7c404d3e48961ddfcd8cee7299a3fa76 (diff) | |
download | mpd-8439e0ce44b895931fd821da5a31fa53e3fcd421.tar.gz mpd-8439e0ce44b895931fd821da5a31fa53e3fcd421.tar.xz mpd-8439e0ce44b895931fd821da5a31fa53e3fcd421.zip |
xfade: copy xfade_time locally to avoid race conditions
ob.xfade_time can be changed by the main process without
locking, so copy the float value into a local variable
and recheck the local variable for zero before
continuing.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions