[DVDnav-discuss] r900 - in trunk/libdvdnav/src: highlight.c navigation.c read_cache.c remap.c searching.c settings.c vm/decoder.c vm/vm.c vm/vmcmd.c

nicodvb subversion at mplayerhq.hu
Wed Apr 25 01:06:22 CEST 2007


Author: nicodvb
Date: Wed Apr 25 01:06:22 2007
New Revision: 900

Log:
include limits.h; it was included in the previous dvdnav_internal.h and without it players segfault

Modified:
   trunk/libdvdnav/src/highlight.c
   trunk/libdvdnav/src/navigation.c
   trunk/libdvdnav/src/read_cache.c
   trunk/libdvdnav/src/remap.c
   trunk/libdvdnav/src/searching.c
   trunk/libdvdnav/src/settings.c
   trunk/libdvdnav/src/vm/decoder.c
   trunk/libdvdnav/src/vm/vm.c
   trunk/libdvdnav/src/vm/vmcmd.c

Modified: trunk/libdvdnav/src/highlight.c
==============================================================================
--- trunk/libdvdnav/src/highlight.c	(original)
+++ trunk/libdvdnav/src/highlight.c	Wed Apr 25 01:06:22 2007
@@ -29,6 +29,7 @@
 #include <inttypes.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/time.h>
 #include "nav_types.h"

Modified: trunk/libdvdnav/src/navigation.c
==============================================================================
--- trunk/libdvdnav/src/navigation.c	(original)
+++ trunk/libdvdnav/src/navigation.c	Wed Apr 25 01:06:22 2007
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/time.h>
 #include "dvd_types.h"

Modified: trunk/libdvdnav/src/read_cache.c
==============================================================================
--- trunk/libdvdnav/src/read_cache.c	(original)
+++ trunk/libdvdnav/src/read_cache.c	Wed Apr 25 01:06:22 2007
@@ -33,6 +33,7 @@
 
 #include <inttypes.h>
 #include <stdlib.h>
+#include <limits.h>
 #include <sys/time.h>
 #include <time.h>
 #include "dvd_types.h"

Modified: trunk/libdvdnav/src/remap.c
==============================================================================
--- trunk/libdvdnav/src/remap.c	(original)
+++ trunk/libdvdnav/src/remap.c	Wed Apr 25 01:06:22 2007
@@ -37,6 +37,7 @@
 
 #include <assert.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/time.h>
 #include "dvd_types.h"
 #include "nav_types.h"

Modified: trunk/libdvdnav/src/searching.c
==============================================================================
--- trunk/libdvdnav/src/searching.c	(original)
+++ trunk/libdvdnav/src/searching.c	Wed Apr 25 01:06:22 2007
@@ -27,6 +27,7 @@
 
 #include <assert.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/time.h>

Modified: trunk/libdvdnav/src/settings.c
==============================================================================
--- trunk/libdvdnav/src/settings.c	(original)
+++ trunk/libdvdnav/src/settings.c	Wed Apr 25 01:06:22 2007
@@ -26,6 +26,7 @@
 #endif
 
 #include <inttypes.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/time.h>
 #include "dvd_types.h"

Modified: trunk/libdvdnav/src/vm/decoder.c
==============================================================================
--- trunk/libdvdnav/src/vm/decoder.c	(original)
+++ trunk/libdvdnav/src/vm/decoder.c	Wed Apr 25 01:06:22 2007
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <string.h>  /* For memset */
 #include <sys/time.h>
 #include "nav_types.h"

Modified: trunk/libdvdnav/src/vm/vm.c
==============================================================================
--- trunk/libdvdnav/src/vm/vm.c	(original)
+++ trunk/libdvdnav/src/vm/vm.c	Wed Apr 25 01:06:22 2007
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <assert.h>
 #include <sys/types.h>
 #include <sys/stat.h>

Modified: trunk/libdvdnav/src/vm/vmcmd.c
==============================================================================
--- trunk/libdvdnav/src/vm/vmcmd.c	(original)
+++ trunk/libdvdnav/src/vm/vmcmd.c	Wed Apr 25 01:06:22 2007
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/time.h>
 
 #include "dvd_types.h"



More information about the DVDnav-discuss mailing list