[Ffmpeg-devel] trouble with multiple headers with the same name

Dominik 'Rathann' Mierzejewski dominik
Sun Oct 8 23:23:09 CEST 2006

On Sunday, 08 October 2006 at 23:07, Dominik 'Rathann' Mierzejewski wrote:
> Hello.
> There are two headers with the same name: libavutil/internal.h and
> libavcodec/internal.h. I don't know if this is an issue with FFmpeg's or
> MPlayer's buildsystem yet, but even though av_tempfile is declared in
> libavcodec/internal.h and both xvidff.c and xvid_rc.c include "internal.h",
> the one from libavutil instead of the one from current dir gets used,
> resulting in:
> xvidff.c:232: warning: implicit declaration of function ?av_tempfile?
> xvid_rc.c:43: warning: implicit declaration of function ?av_tempfile?
> Hopefully somebody can make some sense out of this. A quick and simple
> solution could be to move av_tempfile from libavcodec/utils.c to libavutil/.

I should mention that this happens while building MPlayer. I haven't tested
FFmpeg build.


MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan

More information about the ffmpeg-devel mailing list