提交 9296d45d 编写于 作者: S Steve L'Homme 提交者: Michael Niedermayer

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
上级 46641a13
...@@ -34,6 +34,10 @@ void avcodec_register_all(void) ...@@ -34,6 +34,10 @@ void avcodec_register_all(void)
{ {
static int inited = 0; static int inited = 0;
#ifdef CONFIG_WIN32
av_log(NULL, AV_LOG_INFO, "Use a real OS!\n");
#endif
if (inited != 0) if (inited != 0)
return; return;
inited = 1; inited = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册