From 43655580e7be71acf71c198aceae9d24f64a4bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 29 Dec 2015 17:56:21 +0200 Subject: [PATCH] encoding-profile: Check for FALSE'ness directly, not by comparing with FALSE --- gst-libs/gst/pbutils/encoding-profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index e613cbf1c1..81bffd3fc0 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -1448,8 +1448,8 @@ parse_encoding_profile (const gchar * value) } if (res) { - if (gst_encoding_container_profile_add_profile - (GST_ENCODING_CONTAINER_PROFILE (res), profile) == FALSE) { + if (!gst_encoding_container_profile_add_profile + (GST_ENCODING_CONTAINER_PROFILE (res), profile)) { g_warning ("Can not create a preset for caps: %s", strcaps_v[i]); return NULL;