aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-27 01:19:19 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-27 01:19:19 +0000
commitfbcb0811616d12c8a4dd5ff6db493975f371efab (patch)
tree056a616d49d40b3c6d3dff0f0f9acb8402f1690e /libavformat/file.c
parent1eacdcc64464fb26b716b54f85b06ab963a9997a (diff)
downloadffmpeg-fbcb0811616d12c8a4dd5ff6db493975f371efab.tar.gz
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
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c2
1 files changed, 1 insertions, 1 deletions
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);