diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-16 09:47:46 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-16 15:15:16 +0000 |
commit | c9e183b490add7e3712974fec85db6c86c13b671 (patch) | |
tree | 6e37906365fa636b76294e9b34f85084dab7bc15 /libavfilter/drawutils.c | |
parent | 0354412aa3722a29e9842369fb718f1d22e7d693 (diff) | |
download | ffmpeg-c9e183b490add7e3712974fec85db6c86c13b671.tar.gz |
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/drawutils.c')
-rw-r--r-- | libavfilter/drawutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c index 9abe28b59b..83968abf7d 100644 --- a/libavfilter/drawutils.c +++ b/libavfilter/drawutils.c @@ -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 |