1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Baptiste Coudurier 2008-05-27 01:19:19 +00:00
parent 1eacdcc644
commit fbcb081161

View File

@ -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);