aboutsummaryrefslogtreecommitdiffstats
path: root/src/metadata_pipe.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-08-23 21:06:11 -0700
committerEric Wong <normalperson@yhbt.net>2008-08-23 21:06:11 -0700
commit8439e0ce44b895931fd821da5a31fa53e3fcd421 (patch)
treeae26478cf5f35edbde4c5be43f7d8dce2a8d6e74 /src/metadata_pipe.c
parentd9eaeafe7c404d3e48961ddfcd8cee7299a3fa76 (diff)
downloadmpd-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