[MPlayer-dev-eng] FFmpeg include header
Michael Niedermayer
michaelni at gmx.at
Thu Apr 20 16:16:29 CEST 2006
Hi
On Thu, Apr 20, 2006 at 11:16:47AM +0300, Ivan Kalvachev wrote:
> 2006/4/20, Michael Niedermayer <michaelni at gmx.at>:
> > Hi
> >
> > On Wed, Apr 19, 2006 at 11:52:53PM +0300, Ivan Kalvachev wrote:
> > > Here is an early patch, it uses trick similar to what FreeType does to
> > > declare include header paths.
> > > You may have noticed that there are quite many places where #ifdef are
> > > used to include ffmpeg headers from default system location or from
> > > internal mplayer one.
> > > This code duplication could be removed if we #define the path string
> > > and include the define.
> > >
> > > The patch I created remove about 27 lines total, please take a look
> > > and test it. At least I was able to compile mplayer with this patch
> > > applied.
> > >
> > > I would like to hear your recommendations:
> >
> > what about using gcc ... -I<path to the headers> ?
>
> I may write a new patch, after you explain me why ffmpeg headers are
> put in separate "..include/ffmpeg/" directory.
ahh thats easy to awnser, i have not the faintest clue why :)
[...]
--
Michael
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the MPlayer-dev-eng
mailing list