mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
ffserver: replace atoll() by strtoll()
this should make it easier to support ffserver with msvc Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0a8e86faf2
commit
73920ac573
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user