From 03730e73dc0439e0e673857d8c376a70cfcc8152 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Dec 2012 15:46:23 +0100 Subject: img_convert: add sub_bitmap bounding box functions mp_sub_bitmaps_bb is just sub_bitmaps_bb renamed/moved. --- sub/draw_bmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sub/draw_bmp.c') diff --git a/sub/draw_bmp.c b/sub/draw_bmp.c index 4cf89349a0..f8fbe2e643 100644 --- a/sub/draw_bmp.c +++ b/sub/draw_bmp.c @@ -27,6 +27,7 @@ #include "core/mp_common.h" #include "sub/draw_bmp.h" #include "sub/sub.h" +#include "sub/img_convert.h" #include "video/mp_image.h" #include "video/sws_utils.h" #include "video/img_format.h" @@ -543,7 +544,7 @@ void mp_draw_sub_bitmaps(struct mp_draw_sub_cache **cache, struct mp_image *dst, get_closest_y444_format(dst->imgfmt, &format, &bits); struct mp_rect bb; - if (!sub_bitmaps_bb(sbs, &bb)) + if (!mp_sub_bitmaps_bb(sbs, &bb)) return; if (!align_bbox_for_swscale(dst, &bb)) -- cgit v1.2.3