[MPlayer-cvslog] r21962 - trunk/libmpcodecs/ae_lavc.c

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jan 19 15:39:38 CET 2007


Hello,
On Fri, Jan 19, 2007 at 11:20:25AM +0100, Nico Sabbi wrote:
> Reimar Doeffinger wrote:
> >On Fri, Jan 19, 2007 at 02:19:03AM +0100, nicodvb wrote:
> >>Author: nicodvb
> >>Date: Fri Jan 19 02:19:02 2007
> >>New Revision: 21962
> >>
> >>Modified:
> >>  trunk/libmpcodecs/ae_lavc.c
> >>
> >>Log:
> >>include the right riff.h according to USE_LIBAVFORMAT_SO|USE_LIBAVFORMAT; 
> >>please stop breaking code that uses *_SO
> >>   
> >>
> >
> >1) you should fix it everywhere, not just in one place
> >2) since riff.h does not get installed, it is your change that breaks it
> > 
> >
> no, it doesn't break anything. Unconditionally including a file that may 
> be missing
> breaks compilation

I may not be missing unless you delete files from MPlayer source. You
don't expect it to compile if you just delete mplayer.c
I don't intend to start supporting even modified source now.

> >3) #include "libavformat/riff.h" should work just fine with the SO
> >stuff, even if it is ugly, unless you mix MPlayer with versions of
> >ffmpeg that are incompatible and I absolutely _refuse_ to support that.
> > 
> >
> when the user doesn't have libavformat/ in main but libavformat installed
> globally (as in my case) how can libavformat/riff.h be included?

Snapshots and svn checkout contain those. If you use some source with
randomly deleted files that's your problem.

> At first I didn't remember that long time ago I patched my copy of ffmpeg
> to install riff.h but forgot to post it, so I assumed that the file was 
> already
> supposed to be available. sorry for the confusion

Well, it is not at all supposed to be available, it definitly is
lavf-internal. Making the stuff we use available might be possible but
currently the choice is between code duplication or misusing internal
headers, and after discussion on this list I chose the latter. Which
btw. does not cause problems for anyone who uses unmodified source.

Greetings,
Reimar Doe¶ffinger



More information about the MPlayer-cvslog mailing list