# HG changeset patch # User reimar # Date 1250014521 0 # Node ID 290afe64ba96e51539f5b5a79f0fa4a1329a9cd8 # Parent 80c6dd85f7f89b73d8f9fde8dfd501a15f3ce4c9 fmt_table should be const as well. diff -r 80c6dd85f7f8 -r 290afe64ba96 codec-cfg.c --- a/codec-cfg.c Tue Aug 11 18:07:43 2009 +0000 +++ b/codec-cfg.c Tue Aug 11 18:15:21 2009 +0000 @@ -138,7 +138,7 @@ return 1; } - static struct { + static const struct { const char *name; const unsigned int num; } fmt_table[] = {