Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-03-12 11:40:05 +0400
committerReinhard Tartler <siretart@tauware.de>2014-03-15 17:54:20 +0400
commit10379d50be18325a07ef297bd2120d85a58ec78b (patch)
treec7760b6bf2ede8805cf48b37b5e360ab8b2e0970 /libavformat
parentcd874cf8e69f1b31986fd978577994b45efa3d5c (diff)
http: Declare more parameters as const where possible
Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit e77a2ea9505863e50bf013706f66bf8b7325e524)
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index 7e3af5ae4e..c553d8ea65 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;