Mercurial > libavcodec.hg
comparison allcodecs.c @ 3238:21ba2e68ce03 libavcodec
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)
| author | michael |
|---|---|
| date | Fri, 31 Mar 2006 13:06:24 +0000 |
| parents | 28aaf0a0135e |
| children | 226ffbb6fd02 |
comparison
equal
deleted
inserted
replaced
| 3237:c2bef2a233d2 | 3238:21ba2e68ce03 |
|---|---|
| 31 * simple call to register all the codecs. | 31 * simple call to register all the codecs. |
| 32 */ | 32 */ |
| 33 void avcodec_register_all(void) | 33 void avcodec_register_all(void) |
| 34 { | 34 { |
| 35 static int inited = 0; | 35 static int inited = 0; |
| 36 | |
| 37 #ifdef CONFIG_WIN32 | |
| 38 av_log(NULL, AV_LOG_INFO, "Use a real OS!\n"); | |
| 39 #endif | |
| 36 | 40 |
| 37 if (inited != 0) | 41 if (inited != 0) |
| 38 return; | 42 return; |
| 39 inited = 1; | 43 inited = 1; |
| 40 | 44 |
