diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-03 20:10:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-03 20:22:53 +0100 |
commit | ab796ded757e616cb9167c0a15d70903b86e00f9 (patch) | |
tree | b9d195de7728ad590c51ca69eb8f60324d9d2b85 /libavutil/avstring.c | |
parent | 73180ecd0adf854938f66cb35cde2ff16c1a04c0 (diff) | |
download | ffmpeg-ab796ded757e616cb9167c0a15d70903b86e00f9.tar.gz |
avstring: fix compiler warning about freeing const pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/avstring.c')
-rw-r--r-- | libavutil/avstring.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c index 73ab7aad1b..802d0f85e7 100644 --- a/libavutil/avstring.c +++ b/libavutil/avstring.c @@ -252,7 +252,8 @@ int main(void) }; for (i=0; i < FF_ARRAY_ELEMS(strings); i++) { - const char *p = strings[i], *q; + const char *p = strings[i]; + char *q; printf("|%s|", p); q = av_get_token(&p, ":"); printf(" -> |%s|", q); |