diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-02-02 00:54:37 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-02-02 00:54:37 +0000 |
commit | 815f98cce428f3444d22f0147e6ce86d1f2dc65e (patch) | |
tree | 88410710f020dce4a9d82995975d72196cd2a59e /ffserver.c | |
parent | 2755e41d26214161ed2a40f3a3d17309adebb528 (diff) | |
download | ffmpeg-815f98cce428f3444d22f0147e6ce86d1f2dc65e.tar.gz |
non-const 2nd parameter for strtol/strtod
Originally committed as revision 11803 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c index 876af24a72..d2520d08fb 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3841,12 +3841,12 @@ static int parse_ffconfig(const char *filename) get_arg(stream->feed_filename, sizeof(stream->feed_filename), &p); } else if (!strcasecmp(cmd, "FileMaxSize")) { if (feed) { - const char *p1; + char *p1; double fsize; get_arg(arg, sizeof(arg), &p); p1 = arg; - fsize = strtod(p1, (char **)&p1); + fsize = strtod(p1, &p1); switch(toupper(*p1)) { case 'K': fsize *= 1024; |