[MPlayer-dev-eng] [PATCH] rtsp.c and rmff.h

Roberto Togni r_togni at libero.it
Fri Apr 18 23:45:55 CEST 2003


On 2003.04.18 23:14 Steven M. Schultz wrote:
> Hi -
> 
> 	On some systems (I checked a RH-7.1 system and FreeBSD) it
> seems
> 	that uint32_t is found in <inttypes.h> (or stdint.h).   It
> looks
> 	like <inttypes.h> includes <stdint.h> so including
> <inttypes.h>.
> 
> 	Does Cygwin have inttypes.h?  If so then including
> <inttypes.h>
> 	would be better than '#ifdef __CYGWIN__".
> 
Can someone with Cygwin comments on this? inntypes.h seems to be 
included in other MPlayer files with no problem. Are those ifdef needed?
Code compiles fine here (Hacked Debian woody, gcc 2.95.4)

> 	Below is the (small) change I made to get MPlayer compiling.
> 
> 	Cheers,
> 	Steven Schultz
> 
> ---------------------------cut here-------------------
> --- libmpdemux/realrtsp/rmff.h.dist	Thu Apr 17 13:38:57 2003
> +++ libmpdemux/realrtsp/rmff.h	Fri Apr 18 14:08:37 2003
> @@ -35,6 +35,7 @@
>  #include <fcntl.h>
>  #include <stdlib.h>
>  #include <string.h>
> +#include <inttypes.h>
> 
> 
>  #ifndef HAVE_RMFF_H
> --- libmpdemux/realrtsp/rtsp.c.dist	Thu Apr 17 13:38:57 2003
> +++ libmpdemux/realrtsp/rtsp.c	Fri Apr 18 14:08:46 2003
> @@ -40,6 +40,7 @@
>  #include <time.h>
>  #include <sys/time.h>
>  #include <sys/types.h>
> +#include <inttypes.h>
> 
>  #include "rtsp.h"
> 
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 



More information about the MPlayer-dev-eng mailing list