[FFmpeg-devel] [PATCH 1/2] movenc: use similar logic to DASH when writing bit rate to ISML

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Sep 27 10:35:14 EEST 2016

2016-09-27 0:10 GMT+02:00 Jan Ekström <jeebjp at gmail.com>:

>          avio_printf(pb, "<%s systemBitrate=\"%"PRId64"\">\n", type,
> -                    (int64_t)track->par->bit_rate);
> -        param_write_int(pb, "systemBitrate", track->par->bit_rate);
> +                    (int64_t)manifest_bit_rate);

The cast looks unneeded (and ugly).

Please consider adding braces to the if-else clause you add above.

Carl Eugen

More information about the ffmpeg-devel mailing list