# HG changeset patch # User reimar # Date 1202128345 0 # Node ID 46c79fb51125a0684450bd2857c565511c0f5d90 # Parent 93c9fd942256b95e626c267f45c8ad134d6e8951 String pointers of ogg_codec_t should have const attribute. diff -r 93c9fd942256 -r 46c79fb51125 oggdec.h --- a/oggdec.h Mon Feb 04 12:18:00 2008 +0000 +++ b/oggdec.h Mon Feb 04 12:32:25 2008 +0000 @@ -28,9 +28,9 @@ #include "avformat.h" typedef struct ogg_codec { - int8_t *magic; + const int8_t *magic; uint8_t magicsize; - int8_t *name; + const int8_t *name; int (*header)(AVFormatContext *, int); int (*packet)(AVFormatContext *, int); uint64_t (*gptopts)(AVFormatContext *, int, uint64_t);