flacenc: Properly interprete the result of strcmp()
This commit is contained in:
parent
16f82e46f5
commit
18eee7719d
@ -456,7 +456,8 @@ add_one_tag (const GstTagList * list, const gchar * tag, gpointer user_data)
|
|||||||
/* IMAGE and PREVIEW_IMAGE tags are already written
|
/* IMAGE and PREVIEW_IMAGE tags are already written
|
||||||
* differently, no need to store them inside the
|
* differently, no need to store them inside the
|
||||||
* vorbiscomments too */
|
* 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;
|
return;
|
||||||
|
|
||||||
comments = gst_tag_to_vorbis_comments (list, tag);
|
comments = gst_tag_to_vorbis_comments (list, tag);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user