mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: media-descriptor: remove duplicate conditions
when comparing tags, two conditions in if an else if are same the correct way is to first check if both are NULL and return. changed the condition accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=748390
This commit is contained in:
parent
f020c41d41
commit
2a5ff3f3c8
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ compare_tags (GstMediaDescriptor * ref, StreamNode * rstream,
|
|||
|
||||
rtags = rstream->tags;
|
||||
ctags = cstream->tags;
|
||||
if (rtags == NULL && ctags)
|
||||
if (!rtags && !ctags)
|
||||
return 1;
|
||||
else if (!rtags && ctags) {
|
||||
GList *taglist;
|
||||
|
|
Loading…
Reference in a new issue