summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-11 18:15:21 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-11 18:15:21 +0000
commit8541fcf3651cd1a3b6e60e0d33edc92ece01dfd7 (patch)
tree52c23c8d99fc48ce8b99d16f3f1f7458ccae0ab5 /codec-cfg.c
parentee5bf60cd8c6df82b7d75977e4adfe867d9b1b89 (diff)
downloadmpv-8541fcf3651cd1a3b6e60e0d33edc92ece01dfd7.tar.bz2
mpv-8541fcf3651cd1a3b6e60e0d33edc92ece01dfd7.tar.xz
fmt_table should be const as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29491 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index 6ae8486027..8fd6b2ade2 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -138,7 +138,7 @@ static int add_to_format(char *s, char *alias,unsigned int *fourcc, unsigned int
return 1;
}
- static struct {
+ static const struct {
const char *name;
const unsigned int num;
} fmt_table[] = {