]> git.sesse.net Git - vlc/commitdiff
Remove UI64_C
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 19:05:41 +0000 (22:05 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 19:05:41 +0000 (22:05 +0300)
Turns out it was only used once in the whole tree.

include/vlc_common.h
modules/demux/live555.cpp

index 1f59d1c945d0358786a215b7320837671b4bd062..4b9404dbdc3549e9024ea4c3cbea2ba55a064b33 100644 (file)
@@ -864,7 +864,6 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) );
 
 /* 64 bits integer constant suffix */
 #define I64C(x)  INT64_C(x)
-#define UI64C(x) UINT64_C(x)
 
 #if defined(WIN32) || defined(UNDER_CE)
 /* win32, cl and icl support */
index 20a8a4f9dcf9caf0c4d6953f8b7bbfe3abbe0b3b..1968117073f624db7f5821ad5b3e38bb15f6a695 100644 (file)
@@ -1541,11 +1541,11 @@ static void StreamRead( void *p_private, unsigned int i_size,
 
     //msg_Dbg( p_demux, "pts: %d", pts.tv_sec );
 
-    int64_t i_pts = (uint64_t)pts.tv_sec * UI64C(1000000) +
+    int64_t i_pts = (uint64_t)pts.tv_sec * UINT64_C(1000000) +
         (uint64_t)pts.tv_usec;
 
     /* XXX Beurk beurk beurk Avoid having negative value XXX */
-    i_pts &= UI64C(0x00ffffffffffffff);
+    i_pts &= UINT64_C(0x00ffffffffffffff);
 
     if( tk->b_quicktime && tk->p_es == NULL )
     {