[vlc-commits] demux: stl: the timestamp parsing functions return an vlc_tick_t
Steve Lhomme
git at videolan.org
Wed Sep 19 15:46:25 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 4 12:14:24 2018 +0200| [63c0d143e5780714216abe7f9febb86f98b1d9b8] | committer: Steve Lhomme
demux: stl: the timestamp parsing functions return an vlc_tick_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63c0d143e5780714216abe7f9febb86f98b1d9b8
---
modules/demux/stl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/stl.c b/modules/demux/stl.c
index 11dbb5ed4e..dcacce1b7d 100644
--- a/modules/demux/stl.c
+++ b/modules/demux/stl.c
@@ -80,14 +80,14 @@ static size_t ParseInteger(uint8_t *data, size_t size)
return strtol(tmp, NULL, 10);
}
-static int64_t ParseTimeCode(uint8_t *data, double fps)
+static vlc_tick_t ParseTimeCode(uint8_t *data, double fps)
{
return CLOCK_FREQ * (data[0] * 3600 +
data[1] * 60 +
data[2] * 1 +
data[3] / fps);
}
-static int64_t ParseTextTimeCode(uint8_t *data, double fps)
+static vlc_tick_t ParseTextTimeCode(uint8_t *data, double fps)
{
uint8_t tmp[4];
for (int i = 0; i < 4; i++)
More information about the vlc-commits
mailing list