Commit 7659b4d8 authored by Tristan Matthews's avatar Tristan Matthews

Avoid type conversion errors with VLC_TS_*

Without the INT64_C, ES_OUT_SET_PCR was being called with garbage values
(when not on 64-bit systems).
Refs #9828
parent 952646bb
......@@ -40,8 +40,8 @@
/* All timestamp below or equal to this define are invalid/unset
* XXX the numerical value is 0 because of historical reason and will change.*/
#define VLC_TS_INVALID (0)
#define VLC_TS_0 (1)
#define VLC_TS_INVALID INT64_C(0)
#define VLC_TS_0 INT64_C(1)
#define CLOCK_FREQ INT64_C(1000000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment