[MPlayer-cvslog] r27077 - trunk/libmpdemux/demuxer.c

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Mon Jun 16 12:17:39 CEST 2008


On Monday, 16 June 2008 at 10:57, diego wrote:
> Author: diego
> Date: Mon Jun 16 10:57:47 2008
> New Revision: 27077
> 
> Log:
> Remove pointless comments and commented-out code.
> 
> 
> Modified:
>    trunk/libmpdemux/demuxer.c
> 
> Modified: trunk/libmpdemux/demuxer.c
> ==============================================================================
> --- trunk/libmpdemux/demuxer.c	(original)
> +++ trunk/libmpdemux/demuxer.c	Mon Jun 16 10:57:47 2008
[...]
> @@ -384,7 +380,7 @@ void ds_read_packet(demux_stream_t *ds, 
>      demux_packet_t* dp=new_demux_packet(len);
>      len = stream_read(stream,dp->buffer,len);
>      resize_demux_packet(dp, len);
> -    dp->pts=pts; //(float)pts/90000.0f;
> +    dp->pts = pts;
>      dp->pos=pos;
>      dp->flags=flags;
>      // append packet to DS stream:
[...]

You could've kept the same spacing around '=' as in the surrounding code.

> @@ -972,15 +963,11 @@ if(!demuxer->seekable){
>      demux_flush(demuxer);
>      // clear demux buffers:
>      if(sh_audio) sh_audio->a_buffer_len=0;
> -    demuxer->stream->eof=0; // clear eof flag
> +    demuxer->stream->eof = 0;

Same here.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-cvslog mailing list