[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.10,1.11 demux_asf.c,1.18,1.19

pl p_l at tfz.net
Thu Dec 13 11:34:30 CET 2001


On Wed, Dec 12, 2001 at 11:35:54PM +0100, Bertrand Baudet wrote:
> Update of /cvsroot/mplayer/main/libmpdemux
> In directory mplayer:/var/tmp.root/cvs-serv2902/libmpdemux
> 
> Modified Files:
> 	asf_streaming.c demux_asf.c 
> Log Message:
> Applied the patch from Alban Bedel <albeu at free.fr> to 
> make the asf network streaming work for some links.
> 
> 
> Index: asf_streaming.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
> retrieving revision 1.10
> retrieving revision 1.11
> diff -u -r1.10 -r1.11
> --- asf_streaming.c	11 Dec 2001 01:07:40 -0000	1.10
> +++ asf_streaming.c	12 Dec 2001 22:35:51 -0000	1.11
> @@ -17,6 +17,15 @@
>  	int request;
>  } asf_http_streaming_ctrl_t;
>  
> +#ifdef ARCH_X86
> +#define	ASF_LOAD_GUID_PREFIX(guid)	(*(uint32_t *)(guid))
> +#else
> +#define	ASF_LOAD_GUID_PREFIX(guid)	\
> +	((guid)[3] << 24 | (guid)[2] << 16 | (guid)[1] << 8 | (guid)[0])
> +#endif

ARCH_X86 == !WORDS_BIGENDIAN in this case.
More portable I guess.

-- 
Best regards,
  pl



More information about the MPlayer-cvslog mailing list