Browse code

ffserver_config: fix compilation warning

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>

Lukasz Marek authored on 2014/11/01 10:11:52
Showing 1 changed files
... ...
@@ -764,8 +764,8 @@ static int ffserver_parse_config_stream(FFServerConfig *config, const char *cmd,
764 764
         ffserver_get_arg(arg, sizeof(arg), p);
765 765
         stream->max_time = atof(arg) * 1000;
766 766
     } else if (!av_strcasecmp(cmd, "AudioBitRate")) {
767
-        ffserver_get_arg(arg, sizeof(arg), p);
768 767
         float f;
768
+        ffserver_get_arg(arg, sizeof(arg), p);
769 769
         ffserver_set_float_param(&f, arg, 1000, 0, FLT_MAX, config, line_num, "Invalid %s: %s\n", cmd, arg);
770 770
         if (av_dict_set_int(&config->audio_conf, cmd, lrintf(f), 0) < 0)
771 771
             goto nomem;