diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-08-24 17:09:15 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-08-24 17:09:15 +0000 |
commit | cd34bc76174397712fc0b2502d550a45dd25c11c (patch) | |
tree | 4a9e2ef00bac83bae45b6d3724d7d7758a11ece8 /libavformat/oggdec.c | |
parent | c18545929e134845ff57e3e98f494965e42ab10a (diff) | |
download | ffmpeg-cd34bc76174397712fc0b2502d550a45dd25c11c.tar.gz |
Make ogg_codec_t descriptions const
Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggdec.c')
-rw-r--r-- | libavformat/oggdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |