[FFmpeg-cvslog] avutil/parseutils: mark args as static const
Michael Niedermayer
git at videolan.org
Thu Mar 24 19:44:23 CET 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Mar 24 19:31:02 2016 +0100| [54f43984e1e4046f4a53da005744a6e8be297a19] | committer: Michael Niedermayer
avutil/parseutils: mark args as static const
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54f43984e1e4046f4a53da005744a6e8be297a19
---
libavutil/parseutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index 977089c..e0534fd 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -940,7 +940,7 @@ static void test_av_get_known_color_name(void)
static void test_av_find_info_tag(void)
{
- char args[] = "?tag1=val1&tag2=val2&tag3=val3&tag41=value 41&tag42=random1";
+ static const char args[] = "?tag1=val1&tag2=val2&tag3=val3&tag41=value 41&tag42=random1";
static const char *tags[] = {"tag1", "tag2", "tag3", "tag4", "tag41", "41", "random1"};
char buff[16];
int i;
More information about the ffmpeg-cvslog
mailing list