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 c28d9121631de40d2f573144b46c873b18979916..46ebfdc638c44e0a62ef2160589605c1f27ebb26 100644 (file)
@@ -183,7 +183,7 @@ enum LinkType {
  */
 typedef struct AVFilterInOut {
     enum LinkType type;
-    char *name;
+    const char *name;
     AVFilterContext *filter;
     int pad_idx;