[vlc-devel] commit: More fixes for live under Win64 (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 19:05:34 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 19:04:10 2009 +0200| [995bc2e57d25fb254bc0a0ff69e330d8e6602713] | committer: Jean-Baptiste Kempf 

More fixes for live under Win64

Work done by NightStrike

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

 extras/contrib/src/Patches/live-win64.patch |   38 +++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/Patches/live-win64.patch b/extras/contrib/src/Patches/live-win64.patch
index 8f94a4d..50aca9a 100644
--- a/extras/contrib/src/Patches/live-win64.patch
+++ b/extras/contrib/src/Patches/live-win64.patch
@@ -144,3 +144,41 @@ diff -ruN live/liveMedia/RTCP.cpp live.new/liveMedia/RTCP.cpp
          oldSSRC = (unsigned)ssrc;
          foundOldMember = True;
        }
+--- live/BasicUsageEnvironment/include/BasicHashTable.hh	2009-07-28 03:05:14.000000000 +0200
++++ live.new/BasicUsageEnvironment/include/BasicHashTable.hh	2009-08-19 19:00:05.000000000 +0200
+@@ -24,6 +24,8 @@
+ #include "HashTable.hh"
+ #endif
+ 
++#include <stdint.h>
++
+ // A simple hash table implementation, inspired by the hash table
+ // implementation used in Tcl 7.6: <http://www.tcl.tk/>
+ 
+@@ -87,7 +89,7 @@
+   unsigned hashIndexFromKey(char const* key) const;
+     // used to implement many of the routines above
+ 
+-  unsigned randomIndex(unsigned long i) const {
++  unsigned randomIndex(uintptr_t i) const {
+     return (((i*1103515245) >> fDownShift) & fMask);
+   }
+ 
+diff -ruN live/groupsock/include/NetCommon.h live.new/groupsock/include/NetCommon.h
+--- live/groupsock/include/NetCommon.h	2009-07-28 03:05:14.000000000 +0200
++++ live.new/groupsock/include/NetCommon.h	2009-08-19 19:00:59.000000000 +0200
+@@ -37,8 +37,12 @@
+ #define closeSocket closesocket
+ #define EWOULDBLOCK WSAEWOULDBLOCK
+ #define EINPROGRESS WSAEWOULDBLOCK
+-#define EAGAIN WSAEWOULDBLOCK
+-#define EINTR WSAEINTR
++#ifndef EAGAIN
++ #define EAGAIN WSAEWOULDBLOCK
++#endif
++#ifndef EINTR
++ #define EINTR WSAEINTR
++#endif
+ 
+ #if defined(_WIN32_WCE)
+ #define NO_STRSTREAM 1




More information about the vlc-devel mailing list