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:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-16 07:12:29 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-03-16 07:12:29 +0400
commit0e5d9fe2a7f4d8704b39e3e9994b8ec1804a093c (patch)
treef57fef7494886ae1ca51c401c60a449213f1b236 /libavformat
parent9ae2aaea501d6fe743b24e732dffd80134c36698 (diff)
parent10379d50be18325a07ef297bd2120d85a58ec78b (diff)
Merge commit '10379d50be18325a07ef297bd2120d85a58ec78b' into release/2.2
* commit '10379d50be18325a07ef297bd2120d85a58ec78b': http: Declare more parameters as const where possible Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 767c66d437..8c16d83348 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -358,7 +358,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;
@@ -373,7 +373,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;