flacenc: Properly interprete the result of strcmp()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 13 Apr 2011 14:17:41 +0000 (16:17 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 13 Apr 2011 14:17:41 +0000 (16:17 +0200)
ext/flac/gstflacenc.c

index b59d7c2..a07fcdc 100644 (file)
@@ -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);