Commit 18eee771 authored by Sebastian Dröge's avatar Sebastian Dröge

flacenc: Properly interprete the result of strcmp()

parent 16f82e46
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment