[vlc-commits] linsys: express hardcoded value in hexadecimal

Steve Lhomme git at videolan.org
Wed Sep 19 15:46:34 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 13:11:23 2018 +0200| [544530f0926427ca51acdc8e22cf8437237200a7] | committer: Steve Lhomme

linsys: express hardcoded value in hexadecimal

More readable this way.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=544530f0926427ca51acdc8e22cf8437237200a7
---

 modules/access/linsys/linsys_hdsdi.c | 2 +-
 modules/access/linsys/linsys_sdi.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/linsys/linsys_hdsdi.c b/modules/access/linsys/linsys_hdsdi.c
index 44c2ec2382..b96031d4fc 100644
--- a/modules/access/linsys/linsys_hdsdi.c
+++ b/modules/access/linsys/linsys_hdsdi.c
@@ -62,7 +62,7 @@
 #define SDIAUDIO_CHANNELS_FILE  "/sys/class/sdiaudio/sdiaudiorx%u/channels"
 #define NB_VBUFFERS             2
 #define CLOCK_GAP               VLC_TICK_FROM_MS(500)
-#define START_DATE              INT64_C(4294967296)
+#define START_DATE              INT64_C(0x100000000)
 
 #define MAX_AUDIOS              4
 
diff --git a/modules/access/linsys/linsys_sdi.c b/modules/access/linsys/linsys_sdi.c
index f123aa5819..be7dd9ff38 100644
--- a/modules/access/linsys/linsys_sdi.c
+++ b/modules/access/linsys/linsys_sdi.c
@@ -56,7 +56,7 @@
 #define READ_TIMEOUT      80000
 #define RESYNC_TIMEOUT    500000
 #define CLOCK_GAP         VLC_TICK_FROM_MS(500)
-#define START_DATE        INT64_C(4294967296)
+#define START_DATE        INT64_C(0x100000000)
 
 #define DEMUX_BUFFER_SIZE 1350000
 #define MAX_AUDIOS        4



More information about the vlc-commits mailing list