From 9296d45d29d0b747d54c824a7073cfbcb4cc7b96 Mon Sep 17 00:00:00 2001 From: Steve L'Homme Date: Fri, 31 Mar 2006 13:06:24 +0000 Subject: [PATCH] warn user about crappy OS patch by (Steve Lhomme ) 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 16db0716d6..92af677c4f 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -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;