diff codec-cfg.c @ 32394:914208d188b9

Remove #warning preprocessor directives or replace them by suitable comments. The #warning preprocessor directive is non-standard and not available with all compilers. Furthermore, the warnings it causes are noisy and have not led to getting any of the underlying issues fixed in the space of a decade.
author diego
date Mon, 11 Oct 2010 12:33:57 +0000
parents e30f35607bcf
children b39155e98ac3
line wrap: on
line diff
--- a/codec-cfg.c	Sun Oct 10 11:20:57 2010 +0000
+++ b/codec-cfg.c	Mon Oct 11 12:33:57 2010 +0000
@@ -391,14 +391,14 @@
     }
 
 #if 0
-#warning codec->driver == 4;... <- this should not be put in here...
-#warning Where are they defined ????????????
+//FIXME: codec->driver == 4;... <- this should not be put in here...
+//FIXME: Where are they defined ????????????
     if (!c->dll && (c->driver == 4 ||
                 (c->driver == 2 && type == TYPE_VIDEO))) {
         mp_msg(MSGT_CODECCFG,MSGL_ERR,MSGTR_CodecNeedsDLL, c->name);
         return 0;
     }
-#warning Can guid.f1 be 0? How does one know that it was not given?
+// FIXME: Can guid.f1 be 0? How does one know that it was not given?
 //      if (!(codec->flags & CODECS_FLAG_AUDIO) && codec->driver == 4)
 
     if (type == TYPE_VIDEO)