rtsp: fix format string

This commit is contained in:
Wim Taymans 2012-11-19 17:08:38 +01:00
parent fe4b415f98
commit 41d36b2584

View file

@ -213,7 +213,7 @@ parse_smpte_time (const gchar * str, GstRTSPTime * time, const gchar * limit)
time->type = GST_RTSP_TIME_END; time->type = GST_RTSP_TIME_END;
return GST_RTSP_OK; return GST_RTSP_OK;
} else { } else {
if (sscanf (str, "%02d:%2d:%02d", &hours, &mins, &secs) != 3) if (sscanf (str, "%2d:%2d:%2d", &hours, &mins, &secs) != 3)
return GST_RTSP_EINVAL; return GST_RTSP_EINVAL;
time->type = GST_RTSP_TIME_FRAMES; time->type = GST_RTSP_TIME_FRAMES;