From fb0a52a34ae0428cf788c16b968cb1f2e6cbb461 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 28 Aug 2012 20:01:03 +0200 Subject: decoder/mad, output_thread: add gcc_unlikely() --- src/output_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output_thread.c') diff --git a/src/output_thread.c b/src/output_thread.c index 4eef2ccd..ee9c8a6e 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); -- cgit v1.2.3