[FFmpeg-devel] [PATCH] delogo filter: new "uglarm" interpolation mode added

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Dec 30 20:47:19 EET 2018


2018-12-30 14:02 GMT+01:00, Nicolas George <george at nsup.org>:
> Uwe Freese (2018-12-29):

>> +                    (double*)av_malloc((logo_w - 1) * (logo_h - 1) *
>> sizeof(double));
>
> No casting of malloc returns in C, this is a c++ thing. Also, use
> av_malloc_array().

While there, please don't use sizeof(type) but sizeof(variable),
same below.

Carl Eugen


More information about the ffmpeg-devel mailing list