[FFmpeg-cvslog] ffserver: replace atoll() by strtoll()
Michael Niedermayer
git at videolan.org
Sun May 19 11:44:42 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 19 11:13:07 2013 +0200| [73920ac57340e18f97f93298315854efc3137281] | committer: Michael Niedermayer
ffserver: replace atoll() by strtoll()
this should make it easier to support ffserver with msvc
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=73920ac57340e18f97f93298315854efc3137281
---
ffserver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffserver.c b/ffserver.c
index ac9627f..16a650c 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4151,7 +4151,7 @@ static int parse_ffconfig(const char *filename)
} else if (!av_strcasecmp(cmd, "MaxBandwidth")) {
int64_t llval;
get_arg(arg, sizeof(arg), &p);
- llval = atoll(arg);
+ llval = strtoll(arg, NULL, 10);
if (llval < 10 || llval > 10000000) {
ERROR("Invalid MaxBandwidth: %s\n", arg);
} else
More information about the ffmpeg-cvslog
mailing list