[FFmpeg-devel] [PATCH 1/4] avutil/tablegen: add tablegen libm compatibility shims

Derek Buitenhuis derek.buitenhuis at gmail.com
Sat Nov 28 19:31:05 CET 2015


On 11/28/2015 5:03 PM, Ganesh Ajjanagadde wrote:
> +static inline double ff_cbrt(double x)
> +{
> +    return x < 0 ? -pow(-x, 1.0 / 3.0) : pow(x, 1.0 / 3.0);
> +}
> +#define cbrt ff_cbrt

Didn't Clément say to not pollute the global namespace like this?

- Derek


More information about the ffmpeg-devel mailing list