# HG changeset patch # User diego # Date 1145371301 0 # Node ID 75b56435f0533d04c9fdeff723c96fddef45470a # Parent 3dcb3aaeb7cb1b81bed1baa6eba0ed10ee66c6f5 Make the RTP demuxer work with libdvdread 0.9.5. ifo_types.h needs the macros UINT8_MAX UINT16_MAX and INT32_MAX, in stdint.h, which are not defined when the language is C++ unless __STDC_LIMIT_MACROS is defined. patch by Emanuele Giaquinta, emanuele <<.>> giaquinta <<@>> gmail <<.>> com diff -r 3dcb3aaeb7cb -r 75b56435f053 libmpdemux/Makefile --- a/libmpdemux/Makefile Tue Apr 18 13:16:15 2006 +0000 +++ b/libmpdemux/Makefile Tue Apr 18 14:41:41 2006 +0000 @@ -160,7 +160,7 @@ OBJS += $(CPLUSPLUSSRCS:.cpp=.o) INCLUDE = -I.. -I../loader $(CSS_INC) $(EXTRA_INC) $(LIBAV_INC) CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC) $(DVB_INC) -CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) +CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS CPLUSPLUS = $(CC) .SUFFIXES: .c .cpp .o