[Mplayer-cvslog] Re:

Michael Niedermayer michaelni at gmx.at
Sat Nov 23 18:35:33 CET 2002


Hi

On Saturday 23 November 2002 18:25, Michael Niedermayer wrote:
> On Saturday 23 November 2002 18:15, Alex Beregszaszi wrote:
> [...]
>
> > > > >  	    case MOV_FOURCC('s','t','t','s'): {
> > > > > -		int temp=stream_read_dword(demuxer->stream);
> > > > > +		stream_read_dword(demuxer->stream);
> > > >
> > > > 1000L !
> > > > reverse this file !
> > >
> > > ok, but could u explain why it is bad? i cant see where temp is used
> > > ...
> >
> > it's not used but at least my gcc 2.95.4 didn't support declaring
> > variables after some func calls. so:
> > {
> > stream_read_dword(demuxer->stream);
> > int len = stream_read_dword(demuxer->stream);
> > }
> > is bad.
>
> ooooooops, thats really 1000l
> only strange is that gcc 3.2 did compile it
just checked gcc 3.0 compiles it too, only 2.95.4 complained, i dont have any 
other gcc version installed so dunno about them

is this a gcc bug? or a feature ;)

[...]

Michael



More information about the MPlayer-cvslog mailing list