[libbluray-devel] Silence (mingw32) printf format warnings

hpi1 git at videolan.org
Tue Nov 18 21:54:55 CET 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Nov 18 22:15:33 2014 +0200| [8cd1ec533acfc4b85568e1e22758672cbbda7498] | committer: hpi1

Silence (mingw32) printf format warnings

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=8cd1ec533acfc4b85568e1e22758672cbbda7498
---

 src/libbluray/decoders/m2ts_filter.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libbluray/decoders/m2ts_filter.c b/src/libbluray/decoders/m2ts_filter.c
index a95299d..6b146dc 100644
--- a/src/libbluray/decoders/m2ts_filter.c
+++ b/src/libbluray/decoders/m2ts_filter.c
@@ -32,6 +32,10 @@
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef _WIN32
+#include <stdio.h>
+#endif
+
 #define M2TS_TRACE(...) BD_DEBUG(DBG_STREAM,__VA_ARGS__)
 //#define M2TS_TRACE(...) do {} while(0)
 



More information about the libbluray-devel mailing list