OSDN Git Service

The name field of AVFilterInOut can be declared const
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:40:37 +0000 (20:40 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:40:37 +0000 (20:40 +0000)
Commited in SoC by Vitor Sessak on 2008-04-21 18:42:11

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

libavfilter/graphparser.c

index c28d912..46ebfdc 100644 (file)
@@ -183,7 +183,7 @@ enum LinkType {
  */
 typedef struct AVFilterInOut {
     enum LinkType type;
-    char *name;
+    const char *name;
     AVFilterContext *filter;
     int pad_idx;