[FFmpeg-devel] [PATCH 2/4] avcodec/faandct: use typedef instead of #define

Ganesh Ajjanagadde gajjanag at mit.edu
Fri Nov 13 18:05:03 CET 2015


On Fri, Nov 13, 2015 at 11:58 AM, Nicolas George <george at nsup.org> wrote:
> Le tridi 23 brumaire, an CCXXIV, Ganesh Ajjanagadde a écrit :
>> See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c
>> for rationale.
>>
>> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
>> ---
>>  libavcodec/faandct.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Any reason not to just replace FLOAT with float and be done?

Assumed Michael kept it open in case we wish to transition to double
precision, in which case diff would be smaller. If float is all we
want for the foreseeable future, will change on your lines.

>
> Regards,
>
> --
>   Nicolas George
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list