diff oggdec.c @ 3767:11169564fbdc libavformat

Make ogg_codec_t descriptions const
author reimar
date Sun, 24 Aug 2008 17:09:15 +0000
parents ac8b6b83e61e
children 6c71b789c69e
line wrap: on
line diff
--- a/oggdec.c	Sun Aug 24 16:51:50 2008 +0000
+++ b/oggdec.c	Sun Aug 24 17:09:15 2008 +0000
@@ -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 @@
     return 0;
 }
 
-static ogg_codec_t *
+static const ogg_codec_t *
 ogg_find_codec (uint8_t * buf, int size)
 {
     int i;