Commit fbcb0811 authored by Baptiste Coudurier's avatar Baptiste Coudurier

remove const qualifier, removes warning:

libavformat/file.c:99: warning: passing argument 2 of 'strtol' from incompatible pointer type

Originally committed as revision 13454 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1eacdcc6
...@@ -93,7 +93,7 @@ URLProtocol file_protocol = { ...@@ -93,7 +93,7 @@ URLProtocol file_protocol = {
static int pipe_open(URLContext *h, const char *filename, int flags) static int pipe_open(URLContext *h, const char *filename, int flags)
{ {
int fd; int fd;
const char * final; char *final;
av_strstart(filename, "pipe:", &filename); av_strstart(filename, "pipe:", &filename);
fd = strtol(filename, &final, 10); fd = strtol(filename, &final, 10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment