1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

Mark mutable static data const where appropriate.

This commit is contained in:
Alex Converse
2012-02-20 00:42:33 -08:00
parent e48a70e6da
commit b0f29db5c2
18 changed files with 26 additions and 26 deletions

View File

@@ -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++);