diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-01 02:11:52 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-01 02:11:52 +0100 |
commit | d2d97b34a0a8b54578f957e01f1462b25a88d495 (patch) | |
tree | 90aedb2ca86f5dcf9ae7c4d09c400cb2fce7a6fd /ffserver_config.c | |
parent | ed1f8915daf6b84a940463dfe83c7b970f82383d (diff) | |
download | ffmpeg-d2d97b34a0a8b54578f957e01f1462b25a88d495.tar.gz |
ffserver_config: fix compilation warning
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'ffserver_config.c')
-rw-r--r-- | ffserver_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver_config.c b/ffserver_config.c index 4c8740d78e..d589ff2b02 100644 --- a/ffserver_config.c +++ b/ffserver_config.c @@ -764,8 +764,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd, ffserver_get_arg(arg, sizeof(arg), p); stream->max_time = atof(arg) * 1000; } else if (!av_strcasecmp(cmd, "AudioBitRate")) { - ffserver_get_arg(arg, sizeof(arg), p); float f; + ffserver_get_arg(arg, sizeof(arg), p); ffserver_set_float_param(&f, arg, 1000, 0, FLT_MAX, config, line_num, "Invalid %s: %s\n", cmd, arg); if (av_dict_set_int(&config->audio_conf, cmd, lrintf(f), 0) < 0) goto nomem; |