summaryrefslogtreecommitdiff
path: root/libavformat/oggdec.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-04 12:32:25 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-04 12:32:25 +0000
commitc901197693fd356e188d92738568dc7d2a725a39 (patch)
tree3bf6e149dbd2b81559ecae4cbcdbad2003e0ef92 /libavformat/oggdec.h
parent23ef05756e617a4a96ce899423abaa197a58707a (diff)
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.h4
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);