[MPlayer-dev-eng] [PATCH] demuxers cleanup (was Re: [PATCH] misc small fixes (mostly gcc warnings) )

Diego Biurrun diego at biurrun.de
Thu Dec 8 09:38:15 CET 2005


On Mon, Dec 05, 2005 at 07:27:04PM -0500, The Wanderer wrote:
> Diego Biurrun wrote:
> 
> >On Mon, Dec 05, 2005 at 06:20:47PM +0100, Roberto Togni wrote:
> >
> >>On Mon, 5 Dec 2005 16:41:55 +0100 Dominik 'Rathann' Mierzejewski
> >><dominik at rangers.eu.org> wrote:
> 
> >>>Well, both Reimar and Roberto seemed to accept it. Only Rich
> >>>objected.
> >>
> >>That's still my opinion. I see no reason to keep an unused return
> >>value (was never used), also considering that it's meaningful only
> >>for few demuxers (others always return the same value).
> >>
> >>If some day MPlayer will be modified to use return values from
> >>seeking functions, they can easily be added back.
> >>
> >>If the problem is history (but we have cvs for that), they can be
> >>commented out instead of remove them.
> >>
> >>They should have been fixed with the big demuxer patch, but i
> >>overlooked them.
> >
> >I tend to agree with Roberto, so I think we probably have Rich voted
> >down in this situation.  I'd like to see the warnings go, but I don't
> >have very strong feelings in either direction...
> 
> Apparently we do have dissenting opinions. The question now becomes:
> commit the patch which has already been submitted, or hold off for a new
> patch which simply comments them out, or hold off for one which adds
> explanatory comments? Or something else I haven't thought of?

I vote for applying.  If somebody prefers to comment them out, that
should do the trick as well.

Diego




More information about the MPlayer-dev-eng mailing list