rtsp-client: fix awkward if clause

This commit is contained in:
Tim-Philipp Müller 2015-02-08 12:08:36 +00:00
parent 6dbffce319
commit 57c21c8f9e

View file

@ -2303,7 +2303,7 @@ handle_announce_request (GstRTSPClient * client, GstRTSPContext * ctx)
/* could not be set but since the request returned OK, we assume it
* was SDP, else check it. */
if (cont) {
if (!g_ascii_strcasecmp (cont, "application/sdp") == 0)
if (g_ascii_strcasecmp (cont, "application/sdp") != 0)
goto wrong_content_type;
}