From c901197693fd356e188d92738568dc7d2a725a39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 4 Feb 2008 12:32:25 +0000 Subject: [PATCH] String pointers of ogg_codec_t should have const attribute. Originally committed as revision 11860 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/oggdec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 177032c0c..7d91e99c0 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -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); -- 2.11.0