[Bug 750172] miniobject double WRITE | EXCLUSIVE lock succeeds despite part-miniobject.txt forbidding it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 1 07:38:02 PDT 2015


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

--- Comment #5 from Matthew Waters <ystreet00 at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> +    /* shared counter > 1 and write access is not allowed */
> +    if ((state & GST_LOCK_FLAG_WRITE || access_mode & GST_LOCK_FLAG_WRITE)
> 
> clang/gcc does not complain here with a warning to add parenthesis? Please
> add some around the bitwise AND before pushing :)

No, but it does if I add a "!= 0" on the end of them :)

-- 
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