mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "libavutil/colorspace.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
#include "drawutils.h"
|
||||
#include "formats.h"
|
||||
|
||||
enum { RED = 0, GREEN, BLUE, ALPHA };
|
||||
|
||||
@@ -505,7 +506,7 @@ AVFilterFormats *ff_draw_supported_pixel_formats(unsigned flags)
|
||||
if (ff_draw_init(&draw, i, flags) >= 0)
|
||||
pix_fmts[n++] = i;
|
||||
pix_fmts[n++] = PIX_FMT_NONE;
|
||||
return avfilter_make_format_list(pix_fmts);
|
||||
return ff_make_format_list(pix_fmts);
|
||||
}
|
||||
|
||||
#ifdef TEST
|
||||
|
||||
Reference in New Issue
Block a user