[Bug 748390] validate: media-descriptor: remove duplicate conditions

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 28 21:32:59 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748390

--- Comment #5 from Vineeth <vineeth.tm at samsung.com> ---
Hi Thibault,
   I just rechecked the code.
   The function is to compare the tags of two streams being passed as input.
   After my patch, when both tags are NULL it is just returning without doing
any comparison.
   and the else if conditions are added only to print report mentioning about
the presence of tag in one and not in another.
   The actual comparison happens only when both the tags are present which is
present in the end of the function.

   Before my patch, when both rtags and ctags are NULL, then there is no
condition to check it and exit. Hence the comparison logic will be called and
this will result in crash.


Regards,
Vineeth

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list