[FFmpeg-devel] [PATCH] fix inclusion of avformat.h in avio.h
Stefano Sabatini
stefano.sabatini-lala
Thu Feb 19 00:59:49 CET 2009
On date Wednesday 2009-02-18 12:37:50 +0100, Benoit Fouet encoded:
> Hi,
>
> as LIBAVFORMAT_VERSION_MAJOR is used in avio.h, the latter needs to
> include avformat.h
> so far, so good...
> the "problem" is that avformat.h includes avio.h, so the only way to do
> it (simply) is to include avformat.h in avio.h *before* its multiple
> inclusion guards.
>
> Attached patch does that, and is waiting for your comments :)
[...]
I wonder if that would make sense to define version.h headers for each
lib, only containing the versioning stuff.
Regards.
--
FFmpeg = Friendly Faboulous Mysterious Portable Enlightening Gadget
More information about the ffmpeg-devel
mailing list