emotion webcam: fix check for v4l2 video capture device capability 25/143225/1
authorJiyoun Park <jy0703.park@samsung.com>
Wed, 9 Aug 2017 06:24:18 +0000 (15:24 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Wed, 9 Aug 2017 06:24:18 +0000 (15:24 +0900)
commit4214467a8577de8865477de4e63003398f44dd40
tree52a7aaf5a5cddd2e25536ff97897c81efb9885ff
parentd25a4db82deb9187ce9b34e3b196fdc1c8731ced
emotion webcam: fix check for v4l2 video capture device capability

    The negation should be uses after checking the capability bit with the &.
    Better use parenthesis  to make this work.

    Thankls to the sparse sematic parser for spotting this.

Change-Id: I223d0c44b4b2abe0e5ac631a3d9d1eb1b3cd08b7
src/lib/emotion/emotion_webcam.c