[FFmpeg-cvslog] r11860 - trunk/libavformat/oggdec.h

reimar subversion
Mon Feb 4 13:32:25 CET 2008


Author: reimar
Date: Mon Feb  4 13:32:25 2008
New Revision: 11860

Log:
String pointers of ogg_codec_t should have const attribute.


Modified:
   trunk/libavformat/oggdec.h

Modified: trunk/libavformat/oggdec.h
==============================================================================
--- trunk/libavformat/oggdec.h	(original)
+++ trunk/libavformat/oggdec.h	Mon Feb  4 13:32:25 2008
@@ -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);




More information about the ffmpeg-cvslog mailing list