[FFmpeg-devel] [PATCH 1/3] avcodec/aacdec_template: Fix undefined integer overflow in apply_tns()

Kieran Kunhya kierank at obe.tv
Wed Jul 12 16:54:28 EEST 2017


>
> I actually would request a short note explaining the SUINTFLOAT type usage.
> Something like:
> +typedef unsigned            SUINTFLOAT; // Equivalent to INTFLOAT,
> Used as temporal cast to avoid undefined sign overflow operations.
>
> Maybe add such note to all "signed value in unsigned type" typedefs.
>

Needs to be in main documentation because nobody is going to understand
this in 50 years time when mailing lists have bitrotted.

Kieran


More information about the ffmpeg-devel mailing list