History

Mark mutable static data const where appropriate.

Alex Converse committed 14 years ago

Commit b0f29db1 parent e48a70e18 files · +26 −26Browse files

Showing the changes to avserver.c (1 of 18 files). Show all

Unified · Split

avserver.c+1−1
@@ -1865,7 +1865,7 @@ static int http_parse_request(HTTPContext *c) · 1864 unmodified lines
18651865
18661866 static void fmt_bytecount(AVIOContext *pb, int64_t count)
18671867 {
1868− static const char *suffix = " kMGTP";
1868+ static const char suffix[] = " kMGTP";
18691869 const char *s;
18701870
18711871 for (s = suffix; count >= 100000 && s[1]; count /= 1000, s++);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t