Showing the changes to libavfilter/drawutils.c (1 of 34 files). Show all
Unified · Split
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/colorspace.h" |
| 24 | 24 | #include "libavutil/pixdesc.h" |
| 25 | 25 | #include "drawutils.h" |
| 26 | +#include "formats.h" | |
| 26 | 27 | |
| 27 | 28 | enum { RED = 0, GREEN, BLUE, ALPHA }; |
| 28 | 29 | |
| @@ -505,7 +506,7 @@ AVFilterFormats *ff_draw_supported_pixel_formats(unsigned flags) · 476 unmodified lines | ||
| 505 | 506 | if (ff_draw_init(&draw, i, flags) >= 0) |
| 506 | 507 | pix_fmts[n++] = i; |
| 507 | 508 | pix_fmts[n++] = PIX_FMT_NONE; |
| 508 | − return avfilter_make_format_list(pix_fmts); | |
| 509 | + return ff_make_format_list(pix_fmts); | |
| 509 | 510 | } |
| 510 | 511 | |
| 511 | 512 | #ifdef TEST |