warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)

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
This commit is contained in:
Steve L'Homme 2006-03-31 13:06:24 +00:00 committed by Michael Niedermayer
parent 46641a135c
commit 9296d45d29
1 changed files with 4 additions and 0 deletions

View 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;