aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-28 20:01:03 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 17:41:22 +0200
commitfb0a52a34ae0428cf788c16b968cb1f2e6cbb461 (patch)
treebce6d5958615b666af8e98abf60eabddc2001c0c /src/output_thread.c
parentc852970cf6e8afe03b4fb99c13ef3d79db4f1103 (diff)
downloadmpd-fb0a52a34ae0428cf788c16b968cb1f2e6cbb461.tar.gz
mpd-fb0a52a34ae0428cf788c16b968cb1f2e6cbb461.tar.xz
mpd-fb0a52a34ae0428cf788c16b968cb1f2e6cbb461.zip
decoder/mad, output_thread: add gcc_unlikely()
Diffstat (limited to 'src/output_thread.c')
-rw-r--r--src/output_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index 4eef2ccdd..ee9c8a6e5 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -435,7 +435,7 @@ ao_play_chunk(struct audio_output *ao, const struct music_chunk *chunk)
assert(ao != NULL);
assert(ao->filter != NULL);
- if (chunk->tag != NULL) {
+ if (gcc_unlikely(chunk->tag != NULL)) {
g_mutex_unlock(ao->mutex);
ao_plugin_send_tag(ao, chunk->tag);
g_mutex_lock(ao->mutex);