[MPlayer-cvslog] r26178 - trunk/libmpcodecs/ve_vfw.c
uau
subversion at mplayerhq.hu
Thu Mar 6 02:57:26 CET 2008
Author: uau
Date: Thu Mar 6 02:57:26 2008
New Revision: 26178
Log:
ve_vfw.c: #include aviheader.h instead of wine avifmt.h
Compilation was broken after libmpdemux/muxer.h started including
libmpdemux/aviheader.h. ve_vfw.c included both muxer.h and
loader/wine/avifmt.h, and the latter has definitions that conflict with
aviheader.h ones. Fix by removing the avifmt.h include.
I did not carefully check that changing the includes doesn't break
any ve_vfw.c code. However it at least fixes compilation, and if the
avifmt.h versions differ in some significant way then the code is
fundamentally broken anyway: ve_vfw cannot use different versions of
the avi struct definitions when it also uses shared muxer.h types
(those must use the standard definitions to keep the type compatible
with what's used in other files).
Modified:
trunk/libmpcodecs/ve_vfw.c
Modified: trunk/libmpcodecs/ve_vfw.c
==============================================================================
--- trunk/libmpcodecs/ve_vfw.c (original)
+++ trunk/libmpcodecs/ve_vfw.c Thu Mar 6 02:57:26 2008
@@ -18,7 +18,7 @@
#include "loader/loader.h"
//#include "loader/wine/mmreg.h"
#include "loader/wine/vfw.h"
-#include "loader/wine/avifmt.h"
+#include "libmpdemux/aviheader.h"
#include "loader/wine/winerror.h"
#include "loader/wine/objbase.h"
More information about the MPlayer-cvslog
mailing list