Skip to content

Commit 73920ac

Browse files
committed
ffserver: replace atoll() by strtoll()
this should make it easier to support ffserver with msvc Signed-off-by: Michael Niedermayer <[email protected]>
1 parent 0a8e86f commit 73920ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffserver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4151,7 +4151,7 @@ static int parse_ffconfig(const char *filename)
41514151
} else if (!av_strcasecmp(cmd, "MaxBandwidth")) {
41524152
int64_t llval;
41534153
get_arg(arg, sizeof(arg), &p);
4154-
llval = atoll(arg);
4154+
llval = strtoll(arg, NULL, 10);
41554155
if (llval < 10 || llval > 10000000) {
41564156
ERROR("Invalid MaxBandwidth: %s\n", arg);
41574157
} else

0 commit comments

Comments
 (0)