summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-11 12:33:57 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:10 +0200
commited8e92afccc1123340c31cffed3dd403408ef032 (patch)
treeb995b42ac9f0206f5b8f7023232ef591826487fc /codec-cfg.c
parent2865993869175737a9d5033e46471d6934db2713 (diff)
downloadmpv-ed8e92afccc1123340c31cffed3dd403408ef032.tar.bz2
mpv-ed8e92afccc1123340c31cffed3dd403408ef032.tar.xz
Remove #warning preprocessor directives
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index effc775d4c..ced013386a 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -393,14 +393,14 @@ static int validate_codec(codecs_t *c, int type)
}
#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_tmsg(MSGT_CODECCFG,MSGL_ERR,"\ncodec(%s) needs a 'dll'!\n", 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)