[MPlayer-dev-eng] [PATCH] Fix dependencies between muxer and demuxer
Diego Biurrun
diego at biurrun.de
Tue Apr 8 18:25:19 CEST 2008
On Tue, Apr 08, 2008 at 06:14:10PM +0200, Alban Bedel wrote:
> On Tue, 8 Apr 2008 01:25:33 +0200
> Diego Biurrun <diego at biurrun.de> wrote:
>
> > On Mon, Apr 07, 2008 at 02:49:56PM +0200, Alban Bedel wrote:
> > >
> > > following my previous post, now are fixes for vivodump. They allow
> > > to use libmpmux without libmpdemux.
> > >
> > > --- libmpdemux/Makefile (revision 26343)
> > > +++ libmpdemux/Makefile (working copy)
> > > @@ -36,6 +36,7 @@
> > > extension.c \
> > > mf.c \
> > > + aac_hdr.c \
> > > mp3_hdr.c \
> >
> > alphabetical order
>
> Fixed, perhaps you should add comments in the Makefiles. I mean when one
> is busy with other things than Makefile layout, it's not necessarily
> obvious.
Add comments where? DOCS/tech/svn-howto.txt? Basically everything is
in alphabetical order in the Makefiles. If it is not, it is a bug.
> > > @@ -68,5 +69,6 @@
> > >
> > > demux_lavf.o: CFLAGS += -I../libavcodec
> > > +mp_taglists.o: CFLAGS += -I../libavcodec
> >
> > Merge these two lines.
>
> Done. I used the one-file-per-line trick, I hope it's alright.
Umm, I find your version very ugly, please use
demux_lavf.o mp_taglists.o: CFLAGS += -I../libavcodec
instead.
> > This file could be created with 'svn cp' from demux_lavf.c.
>
> I intend to do that with all derived files, but as you can see that make
> for ugly hard to review diff. Sorry, I forgot to mention it in my
> original mails.
OK. You are right that it can be easier to review the other way around.
> --- libmpdemux/mp_taglists.c (revision 26348)
> +++ libmpdemux/mp_taglists.c (working copy)
Is the mp_ prefix for the filename necessary?
> @@ -1,81 +1,28 @@
> /*
> - Copyright (C) 2004 Michael Niedermayer <michaelni at gmx.at>
> + * Copyright (C) 2006 Reimar D??ffinger
IIRC this file just contains the tables. In this case you can leave out
the copyright holder, tables are not copyrightable.
Other than that, patch is OK from my side, but you may wish to wait for
comments from others.
Diego
More information about the MPlayer-dev-eng
mailing list