diff oggdec.h @ 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 bc1504ae7a43
children 61ea9e6ee162
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);