[FFmpeg-devel] [PATCH]Do not redefine av_restrict

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Sep 19 18:34:57 CEST 2012


Attached patch should silence another msvc-warning, to make sure no real 
warnings are hidden in the noise.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 56f1145..38088a5 100755
--- a/configure
+++ b/configure
@@ -4231,6 +4231,7 @@ cat > $TMPH <<EOF
 #define FFMPEG_DATADIR "$(eval c_escape $datadir)"
 #define AVCONV_DATADIR "$(eval c_escape $datadir)"
 #define CC_IDENT "$(c_escape ${cc_ident:-Unknown compiler})"
+#undef av_restrict
 #define av_restrict $_restrict
 #define EXTERN_PREFIX "${extern_prefix}"
 #define EXTERN_ASM ${extern_prefix}

More information about the ffmpeg-devel mailing list