projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe4b415
)
rtsp: fix format string
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 19 Nov 2012 16:08:38 +0000
(17:08 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 19 Nov 2012 16:08:38 +0000
(17:08 +0100)
gst-libs/gst/rtsp/gstrtsprange.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtsp/gstrtsprange.c
b/gst-libs/gst/rtsp/gstrtsprange.c
index
4487729
..
5ff6078
100644
(file)
--- a/
gst-libs/gst/rtsp/gstrtsprange.c
+++ b/
gst-libs/gst/rtsp/gstrtsprange.c
@@
-213,7
+213,7
@@
parse_smpte_time (const gchar * str, GstRTSPTime * time, const gchar * limit)
time->type = GST_RTSP_TIME_END;
return GST_RTSP_OK;
} else {
- if (sscanf (str, "%
02d:%2d:%0
2d", &hours, &mins, &secs) != 3)
+ if (sscanf (str, "%
2d:%2d:%
2d", &hours, &mins, &secs) != 3)
return GST_RTSP_EINVAL;
time->type = GST_RTSP_TIME_FRAMES;