Make ogg_codec_t descriptions const

Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger
2008-08-24 17:09:15 +00:00
parent c18545929e
commit cd34bc7617
7 changed files with 20 additions and 20 deletions

View File

@ -37,7 +37,7 @@
#define MAX_PAGE_SIZE 65307
#define DECODER_BUFFER_SIZE MAX_PAGE_SIZE
static ogg_codec_t *ogg_codecs[] = {
static const ogg_codec_t * const ogg_codecs[] = {
&speex_codec,
&vorbis_codec,
&theora_codec,
@ -126,7 +126,7 @@ ogg_reset (ogg_t * ogg)
return 0;
}
static ogg_codec_t *
static const ogg_codec_t *
ogg_find_codec (uint8_t * buf, int size)
{
int i;