Commit 73920ac5 authored by Michael Niedermayer's avatar Michael Niedermayer

ffserver: replace atoll() by strtoll()

this should make it easier to support ffserver with msvc
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0a8e86fa
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment