diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-12 20:50:17 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-12 20:50:29 +0100 |
commit | 7e6c6c45ec7c27b90b4b9d89d9f4b3f19bf30cb0 (patch) | |
tree | 0d8c95e1e631183f20a31883b69dbbf80b10192f | |
parent | ad341b3bc65e11fcd35b4c441cd9b5ebc92aaca5 (diff) | |
parent | e77a2ea9505863e50bf013706f66bf8b7325e524 (diff) | |
download | ffmpeg-7e6c6c45ec7c27b90b4b9d89d9f4b3f19bf30cb0.tar.gz |
Merge commit 'e77a2ea9505863e50bf013706f66bf8b7325e524'
* commit 'e77a2ea9505863e50bf013706f66bf8b7325e524':
http: Declare more parameters as const where possible
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-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 696afb0e96..34790df945 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; |