mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
1eacdcc644
commit
fbcb081161
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue