Revision 3b963552 ffserver.c

View differences:

ffserver.c
4300 4300
        } else if (!strcasecmp(cmd, "AudioBitRate")) {
4301 4301
            get_arg(arg, sizeof(arg), &p);
4302 4302
            if (stream)
4303
                audio_enc.bit_rate = atoi(arg) * 1000;
4303
                audio_enc.bit_rate = lrintf(atof(arg) * 1000);
4304 4304
        } else if (!strcasecmp(cmd, "AudioChannels")) {
4305 4305
            get_arg(arg, sizeof(arg), &p);
4306 4306
            if (stream)

Also available in: Unified diff