diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-04 12:32:25 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-04 12:32:25 +0000 |
commit | c901197693fd356e188d92738568dc7d2a725a39 (patch) | |
tree | 3bf6e149dbd2b81559ecae4cbcdbad2003e0ef92 /libavformat/oggdec.h | |
parent | 23ef05756e617a4a96ce899423abaa197a58707a (diff) | |
download | ffmpeg-c901197693fd356e188d92738568dc7d2a725a39.tar.gz |
String pointers of ogg_codec_t should have const attribute.
Originally committed as revision 11860 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggdec.h')
-rw-r--r-- | libavformat/oggdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 177032c0c3..7d91e99c0e 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); |