mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtsp: fix format string
This commit is contained in:
parent
fe4b415f98
commit
41d36b2584
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue