OSDN Git Service

fix 8 "initialization discards qualifiers from pointer target type"
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:42:27 +0000 (00:42 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:42:27 +0000 (00:42 +0000)
warnings

Originally committed as revision 11845 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/ape.c

index 358ad2e..a90f887 100644 (file)
@@ -50,7 +50,7 @@
 #define TAG(name, field)  {name, offsetof(AVFormatContext, field), sizeof(((AVFormatContext *)0)->field)}
 
 static const struct {
-    char *name;
+    const char *name;
     int offset;
     int size;
 } tags[] = {