[FFmpeg-devel] [PATCH] fix inclusion of avformat.h in avio.h

Benoit Fouet benoit.fouet
Wed Feb 18 12:37:50 CET 2009


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 :)

Ben


-------------- next part --------------
A non-text attachment was scrubbed...
Name: avio.h.diff
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090218/5110438e/attachment.bin>



More information about the ffmpeg-devel mailing list