[MPlayer-cvslog] r18963 - in trunk: libmpcodecs/ad_hwmpa.c libmpdemux/aviheader.c libmpdemux/demux_demuxers.c libmpdemux/demux_gif.c libmpdemux/demux_lmlm4.c libmpdemux/demux_mov.c libmpdemux/demux_mpg.c libmpdemux/demux_nuv.c libmpdemux/demux_ogg.c libmpdemux/demux_realaud.c libmpdemux/demux_ty.c libmpdemux/demux_ty_osd.c libmpdemux/http.c libmpdemux/muxer_avi.c libmpdemux/muxer_mpeg.c libmpdemux/tvi_v4l2.c m_option.c

Roberto Togni r_togni at tiscali.it
Sun Jul 9 01:38:29 CEST 2006


On Sat,  8 Jul 2006 19:28:37 +0200 (CEST)
diego <subversion at mplayerhq.hu> wrote:

[...]

> Modified: trunk/libmpdemux/http.c
> ==============================================================================
> --- trunk/libmpdemux/http.c	(original)
> +++ trunk/libmpdemux/http.c	Sat Jul  8 19:28:36 2006

[...]

> @@ -856,7 +855,6 @@
>  static int fixup_open(stream_t *stream,int seekable) {
>  	HTTP_header_t *http_hdr = stream->streaming_ctrl->data;
>  	int is_icy = http_hdr && http_get_field(http_hdr, "Icy-MetaInt");
> -	char *content_type = http_get_field( http_hdr, "Content-Type" );

Is this safe? http_get_field() modifies some parts of http_hdr struct. I
have no idea if something depends on those changes.

>  	int is_ultravox = strcasecmp(stream->streaming_ctrl->url->protocol, "unsv") == 0;
>  
>  	stream->type = STREAMTYPE_STREAM;
> 

[...]

Ciao,
 Roberto



More information about the MPlayer-cvslog mailing list