From fbcb0811616d12c8a4dd5ff6db493975f371efab Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Tue, 27 May 2008 01:19:19 +0000 Subject: [PATCH] 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 --- libavformat/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/file.c b/libavformat/file.c index 758c050212..9640ff654e 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -93,7 +93,7 @@ URLProtocol file_protocol = { static int pipe_open(URLContext *h, const char *filename, int flags) { int fd; - const char * final; + char *final; av_strstart(filename, "pipe:", &filename); fd = strtol(filename, &final, 10);