From 603c1d71a1b0f415b93511959cef29a84d2ea09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 8 Feb 2015 12:03:10 +0000 Subject: [PATCH] rtspsrc: fix awkward if clause --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 24d9b81992..a1a8f0f2f6 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -6961,7 +6961,7 @@ restart: /* could not be set but since the request returned OK, we assume it * was SDP, else check it. */ if (respcont) { - if (!g_ascii_strcasecmp (respcont, "application/sdp") == 0) + if (g_ascii_strcasecmp (respcont, "application/sdp") != 0) goto wrong_content_type; }