[FFmpeg-devel] [PATCH] Add new vf_tiltandshift filter

Vittorio Giovara vittorio.giovara at gmail.com
Wed Dec 20 21:43:32 EET 2023


On Fri, Dec 15, 2023 at 3:12 PM Vittorio Giovara <vittorio.giovara at gmail.com>
wrote:

>
>
> On Fri, Dec 15, 2023 at 12:34 PM Andreas Rheinhardt <
> andreas.rheinhardt at outlook.com> wrote:
>
>> > +static int list_add_frame(FrameList **list, size_t *size, AVFrame
>> > *frame)
>> > +{
>> > +    FrameList *element = av_mallocz(sizeof(FrameList));
>>
>> The overhead of this FrameList is unnecessary: You can simply use
>> AVFrame.opaque as your next pointer.
>>
>
> Good tip! Attached an edited version, with all the other suggestions too.
> --
> Vittorio
>

If there are no more comments, I'll push this today or tomorrow.
Thanks
-- 
Vittorio


More information about the ffmpeg-devel mailing list