aboutsummaryrefslogtreecommitdiffstats
path: root/avserver.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-02-20 00:42:33 -0800
committerAlex Converse <alex.converse@gmail.com>2012-02-21 09:47:07 -0800
commitb0f29db5c2b8d1b7de2ccac815e33090e8c49cff (patch)
tree0d70e97046f81fcd84e8c11eec7947037e45f760 /avserver.c
parente48a70e6da02cd5426b6340af70410bdfe27dfa7 (diff)
downloadffmpeg-b0f29db5c2b8d1b7de2ccac815e33090e8c49cff.tar.gz
Mark mutable static data const where appropriate.
Diffstat (limited to 'avserver.c')
-rw-r--r--avserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avserver.c b/avserver.c
index f3ac319ef9..4df8a3e8a4 100644
--- a/avserver.c
+++ b/avserver.c
@@ -1865,7 +1865,7 @@ static int http_parse_request(HTTPContext *c)
static void fmt_bytecount(AVIOContext *pb, int64_t count)
{
- static const char *suffix = " kMGTP";
+ static const char suffix[] = " kMGTP";
const char *s;
for (s = suffix; count >= 100000 && s[1]; count /= 1000, s++);