[FFmpeg-devel] [PATCH 01/13] avfilter/drawutils: Remove remnants of old API

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Jan 29 21:17:03 EET 2021


Gyan Doshi:
> Are there replacements or substitutes for these?
> 

The new API was introduced in 8ec0832743d73c5de4c4978ea5f65b54cfa07625;
ff_copy_rectangle is replaced by ff_copy_rectangle2, ff_draw_rectangle
by ff_fill_rectangle; there is no direct replacement for
ff_fill_line_with_color, as said functions allocated the lines which
none of the new functions does.

- Andreas

> On 29-01-2021 10:52 am, Andreas Rheinhardt wrote:
>> ff_fill_line_with_color and ff_draw_rectangle are unused since
>> 19c8f2271423281c9b876b984076a6467c455904; ff_copy_rectangle
>> is unused since 53b7a3fe081ec56c5706228eb6431bb943ad471a.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
>> ---
>>   libavfilter/drawutils.c | 98 -----------------------------------------
>>   libavfilter/drawutils.h | 13 ------
>>   2 files changed, 111 deletions(-)
>>



More information about the ffmpeg-devel mailing list