check: don't memcmp twice
authorStefan Sauer <ensonic@users.sf.net>
Sun, 27 Dec 2015 18:42:37 +0000 (19:42 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 27 Dec 2015 18:42:37 +0000 (19:42 +0100)
commita6e72aa28f6dc48f484a7095731e39e002f4dd78
treefb2491cb97267f79424ca397b8a58e591830538c
parenta65e18d89015b545377274b758d0f3f523952d53
check: don't memcmp twice

Simply call fail() in the condition after the first memcmp.
libs/gst/check/gstcheck.c