view dvdread/dvdread_internal.h @ 346:e14f453bb208 src

some debug message to identify the cause of 'Invalid main menu IFO'
author nicodvb
date Sun, 27 Apr 2008 09:53:45 +0000
parents 9b1b740e3fc9
children
line wrap: on
line source

#ifndef DVDREAD_INTERNAL_H
#define DVDREAD_INTERNAL_H

#ifdef _MSC_VER
#include <unistd.h>
#endif /* _MSC_VER */

#define CHECK_VALUE(arg) \
 if(!(arg)) { \
   fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
                   "\n*** for %s ***\n\n", \
                   __FILE__, __LINE__, # arg ); \
 }

#endif /* DVDREAD_INTERNAL_H */