changeset 218:c2d0cf87a5ee src

Some fixes to that libdvdnav compiles under cygwin. Submitted by: Frantisek Dvorak <valtri@users.sourceforge.net>
author jcdutton
date Wed, 31 Dec 2003 21:37:16 +0000
parents eb503714e1c2
children f4c5d4d3c831
files decoder.h dvd_reader.h settings.c
diffstat 3 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/decoder.h	Wed Dec 31 16:56:12 2003 +0000
+++ b/decoder.h	Wed Dec 31 21:37:16 2003 +0000
@@ -101,7 +101,7 @@
 /* the big VM function, executing the given commands and writing
  * the link where to continue, the return value indicates if a jump
  * has been performed */
-int vmEval_CMD(vm_cmd_t commands[], int32_t num_commands, 
+int32_t vmEval_CMD(vm_cmd_t commands[], int32_t num_commands, 
 	       registers_t *registers, link_t *return_values);
 
 /* extracts some bits from the command */
--- a/dvd_reader.h	Wed Dec 31 16:56:12 2003 +0000
+++ b/dvd_reader.h	Wed Dec 31 21:37:16 2003 +0000
@@ -166,7 +166,7 @@
  *
  * offset_set = DVDFileSeek(dvd_file, seek_offset);
  */
-int DVDFileSeek( dvd_file_t *, int );
+int32_t DVDFileSeek( dvd_file_t *, int32_t );
 
 /**
  * Reads the given number of bytes from the file.  This call can only be used
--- a/settings.c	Wed Dec 31 16:56:12 2003 +0000
+++ b/settings.c	Wed Dec 31 21:37:16 2003 +0000
@@ -29,7 +29,7 @@
 
 /* Characteristics/setting API calls */
 
-dvdnav_status_t dvdnav_get_region_mask(dvdnav_t *this, int *region) {
+dvdnav_status_t dvdnav_get_region_mask(dvdnav_t *this, int32_t *region) {
   if(!this || !region) {
     printerr("Passed a NULL this pointer.");
     return DVDNAV_STATUS_ERR;
@@ -39,7 +39,7 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_set_region_mask(dvdnav_t *this, int mask) {
+dvdnav_status_t dvdnav_set_region_mask(dvdnav_t *this, int32_t mask) {
   if(!this) {
     printerr("Passed a NULL this pointer.");
     return DVDNAV_STATUS_ERR;
@@ -51,7 +51,7 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_set_readahead_flag(dvdnav_t *this, int use_readahead) {
+dvdnav_status_t dvdnav_set_readahead_flag(dvdnav_t *this, int32_t use_readahead) {
   if(!this) {
     printerr("Passed a NULL this pointer.");
     return DVDNAV_STATUS_ERR;
@@ -61,7 +61,7 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_get_readahead_flag(dvdnav_t *this, int *flag) {
+dvdnav_status_t dvdnav_get_readahead_flag(dvdnav_t *this, int32_t *flag) {
   if(!this || !flag) {
     printerr("Passed a NULL this pointer.");
     return DVDNAV_STATUS_ERR;
@@ -100,7 +100,7 @@
   return set_language_register(this, code, 18);
 }
 
-dvdnav_status_t dvdnav_set_PGC_positioning_flag(dvdnav_t *this, int pgc) {
+dvdnav_status_t dvdnav_set_PGC_positioning_flag(dvdnav_t *this, int32_t pgc) {
   if(!this) {
     printerr("Passed a NULL this pointer.");
     return DVDNAV_STATUS_ERR;
@@ -110,7 +110,7 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_get_PGC_positioning_flag(dvdnav_t *this, int *flag) {
+dvdnav_status_t dvdnav_get_PGC_positioning_flag(dvdnav_t *this, int32_t *flag) {
   if(!this || !flag) {
     printerr("Passed a NULL this pointer.");
     return DVDNAV_STATUS_ERR;