[FFmpeg-cvslog] vfwcap: Include windows.h before vfw. h since the latter requires defines from the former. Patch by kemuri < kemuri9 at gmail dot com>

kemuri git at videolan.org
Mon Jun 4 12:34:53 CEST 2012


ffmpeg | branch: release/0.5 | kemuri <kemuri9 at gmail.com> | Sat Jan 23 20:58:29 2010 +0000| [79674d27d9f9e5a7a4b6827fb0651e5b5f12167e] | committer: Derek Buitenhuis

vfwcap: Include windows.h before vfw.h since the latter requires defines from the former. Patch by kemuri <kemuri9 at gmail dot com>

Originally committed as revision 21411 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 420755dd282a913c2163d5589706d6a99a18d10f)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79674d27d9f9e5a7a4b6827fb0651e5b5f12167e
---

 libavdevice/vfwcap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 4b6f73b..e415b74 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -20,8 +20,8 @@
  */
 
 #include "libavformat/avformat.h"
-#include <vfw.h>
 #include <windows.h>
+#include <vfw.h>
 
 //#define DEBUG_VFW
 



More information about the ffmpeg-cvslog mailing list