mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
ext/annodex/gstcmmlutils.c: Fix build.
Original commit message from CVS: * ext/annodex/gstcmmlutils.c: (gst_cmml_clock_time_from_npt): Fix build.
This commit is contained in:
parent
2f4517a70b
commit
bccaea232b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-08-25 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* ext/annodex/gstcmmlutils.c: (gst_cmml_clock_time_from_npt):
|
||||||
|
Fix build.
|
||||||
|
|
||||||
2006-08-25 Wim Taymans <wim@fluendo.com>
|
2006-08-25 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
Patch by: Alessandro Decina <alessandro at nnva dot org>
|
Patch by: Alessandro Decina <alessandro at nnva dot org>
|
||||||
|
|
|
@ -63,7 +63,7 @@ gst_cmml_clock_time_from_npt (const gchar * time)
|
||||||
/* parse npt-sec */
|
/* parse npt-sec */
|
||||||
hours_t = 0;
|
hours_t = 0;
|
||||||
minutes = 0;
|
minutes = 0;
|
||||||
fields = sscanf (time, "%llu.%d", &u64seconds, &mseconds);
|
fields = sscanf (time, "%" G_GUINT64_FORMAT ".%d", &u64seconds, &mseconds);
|
||||||
if (seconds < 0)
|
if (seconds < 0)
|
||||||
goto bad_input;
|
goto bad_input;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue