diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-19 11:13:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-19 11:13:07 +0200 |
commit | 73920ac57340e18f97f93298315854efc3137281 (patch) | |
tree | 2e300c57147abefc95f962f41446ddd1eab7a368 /ffserver.c | |
parent | 0a8e86faf24f6a23d54be5a4fdd1ce0cd077d3e5 (diff) | |
download | ffmpeg-73920ac57340e18f97f93298315854efc3137281.tar.gz |
ffserver: replace atoll() by strtoll()
this should make it easier to support ffserver with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index ac9627fced..16a650c0cb 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 |