summaryrefslogtreecommitdiff
path: root/libmediaart/extract.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmediaart/extract.c')
-rw-r--r--libmediaart/extract.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmediaart/extract.c b/libmediaart/extract.c
index af409ee..dc0e79e 100644
--- a/libmediaart/extract.c
+++ b/libmediaart/extract.c
@@ -816,8 +816,8 @@ media_art_set (const unsigned char *buffer,
gboolean retval = FALSE;
g_return_val_if_fail (type > MEDIA_ART_NONE && type < MEDIA_ART_TYPE_COUNT, FALSE);
- g_return_val_if_fail (artist == NULL, FALSE);
- g_return_val_if_fail (title == NULL, FALSE);
+ g_return_val_if_fail (artist != NULL, FALSE);
+ g_return_val_if_fail (title != NULL, FALSE);
/* What we do here:
*