changeset 3019:46c79fb51125 libavformat

String pointers of ogg_codec_t should have const attribute.
author reimar
date Mon, 04 Feb 2008 12:32:25 +0000
parents 93c9fd942256
children 38777f77320e
files oggdec.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);