From cd34bc76174397712fc0b2502d550a45dd25c11c Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 24 Aug 2008 17:09:15 +0000 Subject: Make ogg_codec_t descriptions const Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/oggdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/oggdec.c') diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 5459e1784b..ceec6442b4 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -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; -- cgit v1.2.3