summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-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);