warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
authorSteve L'Homme <slhomme@divxcorp.com>
Fri, 31 Mar 2006 13:06:24 +0000 (13:06 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 31 Mar 2006 13:06:24 +0000 (13:06 +0000)
trailing whitespace and init=1 nonsense removed by me
AV_LOG_ERROR -> AV_LOG_INFO (yes steve even though many like you think its an error to use such a OS i cant apply that to cvs, sorry)

Originally committed as revision 5251 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/allcodecs.c

index 16db071..92af677 100644 (file)
@@ -34,6 +34,10 @@ void avcodec_register_all(void)
 {
     static int inited = 0;
 
+#ifdef CONFIG_WIN32
+    av_log(NULL, AV_LOG_INFO, "Use a real OS!\n");
+#endif
+
     if (inited != 0)
         return;
     inited = 1;