summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav/dvd_reader.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-05-16 09:56:49 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-05-16 09:56:49 +0000
commit071f3e913b675c57120ffa087daee39b075a16ae (patch)
treeba7418921265c8887c4a2d3a4c347c0719528b39 /src/input/libdvdnav/dvd_reader.c
parent05eea1b8fb20e87c2cb846ac6537371dbdb5ed93 (diff)
downloadxine-lib-071f3e913b675c57120ffa087daee39b075a16ae.tar.gz
xine-lib-071f3e913b675c57120ffa087daee39b075a16ae.tar.bz2
libdvdnav merge:
* remove some unused files * dvdnav_internal.h uses the WORDS_BIGENDIAN define from xine-lib's global config.h * menu command filtering to avoid double commands in the same menu * message beautification by Jeff Smith CVS patchset: 4861 CVS date: 2003/05/16 09:56:49
Diffstat (limited to 'src/input/libdvdnav/dvd_reader.c')
-rw-r--r--src/input/libdvdnav/dvd_reader.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/input/libdvdnav/dvd_reader.c b/src/input/libdvdnav/dvd_reader.c
index 90930bcdd..63076ac97 100644
--- a/src/input/libdvdnav/dvd_reader.c
+++ b/src/input/libdvdnav/dvd_reader.c
@@ -44,6 +44,7 @@
#include <mntent.h>
#endif
+#include "compat.h"
#include "dvd_udf.h"
#include "dvd_input.h"
#include "dvd_reader.h"
@@ -389,7 +390,7 @@ dvd_reader_t *DVDOpen( const char *ppath )
if( cdir >= 0 ) {
chdir( path_copy );
- new_path = getcwd( NULL, PATH_MAX );
+ new_path = getcwd( NULL, XINE_PATH_MAX );
fchdir( cdir );
close( cdir );
if( new_path ) {
@@ -569,7 +570,7 @@ static int findDirFile( const char *path, const char *file, char *filename )
static int findDVDFile( dvd_reader_t *dvd, const char *file, char *filename )
{
- char video_path[ PATH_MAX + 1 ];
+ char video_path[ XINE_PATH_MAX + 1 ];
const char *nodirfile;
int ret;
@@ -603,7 +604,7 @@ static int findDVDFile( dvd_reader_t *dvd, const char *file, char *filename )
*/
static dvd_file_t *DVDOpenFilePath( dvd_reader_t *dvd, char *filename )
{
- char full_path[ PATH_MAX + 1 ];
+ char full_path[ XINE_PATH_MAX + 1 ];
dvd_file_t *dvd_file;
struct stat fileinfo;
dvd_input_t dev;
@@ -687,7 +688,7 @@ static dvd_file_t *DVDOpenVOBUDF( dvd_reader_t *dvd, int title, int menu )
static dvd_file_t *DVDOpenVOBPath( dvd_reader_t *dvd, int title, int menu )
{
char filename[ MAX_UDF_FILE_NAME_LEN ];
- char full_path[ PATH_MAX + 1 ];
+ char full_path[ XINE_PATH_MAX + 1 ];
struct stat fileinfo;
dvd_file_t *dvd_file;
int i;