diff options
author | Martin Storsjö <martin@martin.st> | 2014-03-12 09:40:05 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-03-12 13:24:58 +0200 |
commit | e77a2ea9505863e50bf013706f66bf8b7325e524 (patch) | |
tree | 3d20c48cff1899c7e342593411cf9eb2d7290e74 /libavformat | |
parent | 2572d07c1f0abd9e2bf3ed20dbe35c58f1dd6ac4 (diff) | |
download | ffmpeg-e77a2ea9505863e50bf013706f66bf8b7325e524.tar.gz |
http: Declare more parameters as const where possible
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index f7d5c8925b..fde7a079dd 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -353,7 +353,7 @@ static int parse_location(HTTPContext *s, const char *p) } /* "bytes $from-$to/$document_size" */ -static void parse_content_range(URLContext *h, char *p) +static void parse_content_range(URLContext *h, const char *p) { HTTPContext *s = h->priv_data; const char *slash; @@ -367,7 +367,7 @@ static void parse_content_range(URLContext *h, char *p) h->is_streamed = 0; /* we _can_ in fact seek */ } -static int parse_content_encoding(URLContext *h, char *p) +static int parse_content_encoding(URLContext *h, const char *p) { HTTPContext *s = h->priv_data; |