Ticket #2096: libdvdcss-r255.patch
| File libdvdcss-r255.patch, 1.7 KB (added by , 14 years ago) |
|---|
-
libdvdcss/css.c
130 130 131 131 if( i_ret < 0 ) 132 132 { 133 print_error( dvdcss, "css error: could not get RPC status , region-free drive?" );134 return;133 print_error( dvdcss, "css error: could not get RPC status. Assuming RPC-I drive." ); 134 i_type = i_mask = i_rpc = 0; 135 135 } 136 136 137 137 switch( i_rpc ) … … 1188 1188 memset( BigTable, 0 , 16777216 * sizeof(int) ); 1189 1189 if( BigTable == NULL ) 1190 1190 { 1191 free( K1table ); 1191 1192 return -1; 1192 1193 } 1193 1194 -
libdvdcss/dvdcss/dvdcss.h
60 60 #define LIBDVDCSS_EXPORT __declspec(dllexport) extern 61 61 #elif defined(LIBDVDCSS_IMPORTS) 62 62 #define LIBDVDCSS_EXPORT __declspec(dllimport) extern 63 #elif defined(HAVE_VISIBILITY) 64 #define LIBDVDCSS_EXPORT __attribute__((visibility("default"))) extern 63 65 #else 64 66 #define LIBDVDCSS_EXPORT extern 65 67 #endif -
Makefile
860 860 861 861 gui/%: CFLAGS += -Wno-strict-prototypes 862 862 863 libdvdcss/%: CFLAGS := -Ilibdvdcss -D_GNU_SOURCE -DVERSION=\"1.2.1 0\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)863 libdvdcss/%: CFLAGS := -Ilibdvdcss -D_GNU_SOURCE -DVERSION=\"1.2.11\" $(CFLAGS_LIBDVDCSS) $(CFLAGS) 864 864 libdvdnav/%: CFLAGS := -Ilibdvdnav -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\" $(CFLAGS) 865 865 libdvdread4/%: CFLAGS := -Ilibdvdread4 -D_GNU_SOURCE $(CFLAGS_LIBDVDCSS_DVDREAD) $(CFLAGS) 866 866
