Mercurial > mplayer.hg
changeset 25662:a004d8e043a5
Builtin codecs array can now be const
author | reimar |
---|---|
date | Sat, 12 Jan 2008 14:07:27 +0000 |
parents | 293aeec83153 |
children | 895fe730fa52 |
files | codec-cfg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/codec-cfg.c Sat Jan 12 14:05:46 2008 +0000 +++ b/codec-cfg.c Sat Jan 12 14:07:27 2008 +0000 @@ -1022,7 +1022,7 @@ printf("/* GENERATED FROM %s, DO NOT EDIT! */\n\n",argv[1]); for (i=0; i<2; i++) { - printf("codecs_t %s[] = {\n", nm[i]); + printf("const codecs_t %s[] = {\n", nm[i]); for (j = 0; j < nr[i]; j++) { printf("{");