mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
flacenc: Properly interprete the result of strcmp()
This commit is contained in:
parent
16f82e46f5
commit
18eee7719d
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue