summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index 88c5cd5351..3911df6b92 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -445,6 +445,21 @@ codecs_t *parse_codec_cfg(char *cfgfile)
if (get_token() < 0)
goto parse_error_out;
//printf(" %s\n", token);
+ } else if (!strcmp(token, "status")) {
+ if (!(state & GOT_NAME))
+ goto parse_error_out;
+ if (get_token() < 0)
+ goto parse_error_out;
+ if (!strcasecmp(token, "rulz"))
+ codec->status = CODECS_STATUS_WORKING;
+ else if (!strcasecmp(token, "suxx"))
+ codec->status = CODECS_STATUS_NOT_WORKING;
+ else if (!strcasecmp(token, "checkthiz"))
+ codec->status = CODECS_STATUS_UNTESTED;
+ else if (!strcasecmp(token, "notsogood"))
+ codec->status = CODECS_STATUS_PROBLEMS;
+ else
+ goto parse_error_out;
} else
goto parse_error_out;
}