aboutsummaryrefslogtreecommitdiff
path: root/src/tag_id3.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-02 02:22:43 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-02 02:22:43 +0100
commit2720585731eb6a39fece86fb675a644b8ea803ae (patch)
tree43c66f17c1266e484b6f8fa9951cdd98920a0f2b /src/tag_id3.c
parent4ca24f22f191033e5dbb88f34e4088bc2814ed0f (diff)
replaced mpd_likely/mpd_unlikely by G_LIKELY/G_UNLIKELY
We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros.
Diffstat (limited to 'src/tag_id3.c')
-rw-r--r--src/tag_id3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag_id3.c b/src/tag_id3.c
index 8f10fedb..83e7bac1 100644
--- a/src/tag_id3.c
+++ b/src/tag_id3.c
@@ -52,7 +52,7 @@ static id3_utf8_t * processID3FieldString (int is_id3v1, const id3_ucs4_t *ucs4,
GError *error = NULL;
isostr = id3_ucs4_latin1duplicate(ucs4);
- if (mpd_unlikely(!isostr)) {
+ if (G_UNLIKELY(!isostr)) {
return NULL;
}
@@ -70,7 +70,7 @@ static id3_utf8_t * processID3FieldString (int is_id3v1, const id3_ucs4_t *ucs4,
free(isostr);
} else {
utf8 = id3_ucs4_utf8duplicate(ucs4);
- if (mpd_unlikely(!utf8)) {
+ if (G_UNLIKELY(!utf8)) {
return NULL;
}
}