diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index de456267bb..ae875bf812 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -5132,8 +5132,7 @@ gst_rtspsrc_parse_digest_challenge (GstRTSPConnection * conn, } else value = NULL; - if (item && (strcmp (item, "stale") == 0) && - value && (strcmp (value, "TRUE") == 0)) + if (value && strcmp (item, "stale") == 0 && strcmp (value, "TRUE") == 0) *stale = TRUE; gst_rtsp_connection_set_auth_param (conn, item, value); g_free (item);