[FFmpeg-devel] [PATCH 23/34] lavfi/drawutils: update deprecated functions

Paul B Mahol onemda at gmail.com
Sat Jun 16 14:07:56 CEST 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavfilter/drawutils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c
index 9abe28b..83968ab 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
-- 
1.7.7



More information about the ffmpeg-devel mailing list