[MPlayer-dev-eng] [PATCH] Fix useless dependencies in the stream lib

Alban Bedel albeu at free.fr
Tue Apr 8 19:17:37 CEST 2008


On Tue, 8 Apr 2008 18:16:58 +0200
Diego Biurrun <diego at biurrun.de> wrote:

> On Tue, Apr 08, 2008 at 05:57:42PM +0200, Alban Bedel wrote:
> > On Tue, 8 Apr 2008 01:21:11 +0200
> > Diego Biurrun <diego at biurrun.de> wrote:
> > 
> > > On Mon, Apr 07, 2008 at 02:33:55PM +0200, Alban Bedel wrote:
> > > > 
> > > > recently Diego asked me if I could take a look at fixing
> > > > compilation of the netstream server (in fact under threat of
> > > > simply rm'ing it). As part of this a few useless dependencies
> > > > in the stream lib must be fixed.
> > > 
> > > It seems my strategy paid off ;-)
> > 
> > It did, I just hope we'll also see some effort on the build system
> > side of the problem ;)
> 
> Sure, you should have noticed me working on the build system these
> past days...

Yep, it just forced me to update make :)

> > > > --- libmpdemux/asfguid.h	(revision 0)
> > > > +++ libmpdemux/asfguid.h	(revision 0)
> > > > @@ -0,0 +1,83 @@
> > > > +#ifndef MPLAYER_ASFGUID_H
> > > > +#define MPLAYER_ASFGUID_H
> > > 
> > > Please give new files proper license headers, see drivers/*.c for
> > > a template.
> > 
> > Right, sorry about that. I didn't really knew who should be put as
> > copyright holder. I settled for the original author of the file this
> > was taken from, I hope it's ok.
> 
> Should be OK, if the stuff you copy over was actually written by that
> person.

For some stuff it's kinda hard to make out, for ex. the lavf tag list.
The array appeared in a commit from Reimar (hence I put him as author)
but it was later extended with a lot more entries from others.

> The patch is OK from my side, though maybe you will want to wait on
> Reimar or so to comment.

I'll commit it later tonight unless there is some outcry.

> If you wish to earn some good karma, make
> the new file match FFmpeg coding style.

Since when is FFmpeg coding style preferred over the file's author own
choice? Please, let's not ignite yet another useless flamewar about
stupid identation styles. MPlayer will never have a single style, just
accept it.

But there is a solution to this problem. Most editor can read
parameters from "magic comments", this allow to automatically set the
proper indention style on a per-file basis. Sure it's not a bullet proof
solution, but it would make things a lot easier for most ppl and curb
the "file with mixed indent" problem. Supporting at least vi and emacs
should be trivial.

	Albeu




More information about the MPlayer-dev-eng mailing list