On Sat, Jan 12, 2008 at 03:07:27PM +0100, reimar wrote:
Author: reimar Date: Sat Jan 12 15:07:27 2008 New Revision: 25690
Log: Builtin codecs array can now be const
Modified: trunk/codec-cfg.c
Modified: trunk/codec-cfg.c ============================================================================== --- trunk/codec-cfg.c (original) +++ trunk/codec-cfg.c Sat Jan 12 15:07:27 2008 @@ -1022,7 +1022,7 @@ int main(int argc, char* argv[]) 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]);
Excellent. I tried making this change a few years ago and made MPlayer crash. Got some big cola.. :) Hope you got it right this time. Rich