decoder/mad, output_thread: add gcc_unlikely()

This commit is contained in:
Max Kellermann
2012-08-28 20:01:03 +02:00
parent c852970cf6
commit fb0a52a34a
2 changed files with 3 additions and 3 deletions

View File

@@ -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);