rtspsrc: fix awkward if clause

This commit is contained in:
Tim-Philipp Müller 2015-02-08 12:03:10 +00:00
parent 8ceb58122e
commit 603c1d71a1

View file

@ -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;
}