[FFmpeg-cvslog] eliminate some mingw warnings

rogerdpack git at videolan.org
Thu Sep 6 05:01:35 CEST 2012


ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Wed Sep  5 16:22:58 2012 -0600| [ef122ff5072463366c020157f0a27aad7e6610db] | committer: Michael Niedermayer

eliminate some mingw warnings

Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/os_support.h |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 6110a33..b15b105 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -37,7 +37,13 @@
 #   undef lseek
 #  endif
 #  define lseek(f,p,w) _lseeki64((f), (p), (w))
+#  ifdef stat
+#   undef stat
+#  endif
 #  define stat _stati64
+#  ifdef fstat
+#   undef fstat
+#  endif
 #  define fstat(f,s) _fstati64((f), (s))
 #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */
 



More information about the ffmpeg-cvslog mailing list