Mercurial > mplayer.hg
comparison libmpdemux/extension.c @ 19110:08888397444e
marks several strings inside structs as const when they hold just
read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c
to cope which the changes.
author | reynaldo |
---|---|
date | Sun, 16 Jul 2006 01:40:24 +0000 |
parents | da91dc728556 |
children | fade77acf2c3 |
comparison
equal
deleted
inserted
replaced
19109:6e840952870d | 19110:08888397444e |
---|---|
10 | 10 |
11 /* | 11 /* |
12 * An autodetection based on the extension is not a good idea, but we don't care ;-) | 12 * An autodetection based on the extension is not a good idea, but we don't care ;-) |
13 */ | 13 */ |
14 static struct { | 14 static struct { |
15 char *extension; | 15 const char *extension; |
16 int demuxer_type; | 16 int demuxer_type; |
17 } extensions_table[] = { | 17 } extensions_table[] = { |
18 // { "mpeg", DEMUXER_TYPE_MPEG_PS }, | 18 // { "mpeg", DEMUXER_TYPE_MPEG_PS }, |
19 // { "mpg", DEMUXER_TYPE_MPEG_PS }, | 19 // { "mpg", DEMUXER_TYPE_MPEG_PS }, |
20 // { "mpe", DEMUXER_TYPE_MPEG_PS }, | 20 // { "mpe", DEMUXER_TYPE_MPEG_PS }, |