From 18eee7719d809cb40499fd900f5e0e918731e94e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 13 Apr 2011 16:17:41 +0200 Subject: [PATCH] flacenc: Properly interprete the result of strcmp() --- ext/flac/gstflacenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index b59d7c2..a07fcdc 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -456,7 +456,8 @@ add_one_tag (const GstTagList * list, const gchar * tag, gpointer user_data) /* IMAGE and PREVIEW_IMAGE tags are already written * differently, no need to store them inside the * vorbiscomments too */ - if (strcmp (tag, GST_TAG_IMAGE) == 0 || strcmp (tag, GST_TAG_PREVIEW_IMAGE)) + if (strcmp (tag, GST_TAG_IMAGE) == 0 + || strcmp (tag, GST_TAG_PREVIEW_IMAGE) == 0) return; comments = gst_tag_to_vorbis_comments (list, tag); -- 2.7.4