diff options
Diffstat (limited to 'video/out/gpu')
-rw-r--r-- | video/out/gpu/osd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/gpu/osd.c b/video/out/gpu/osd.c index 3ab11fcb2b..63a04481d2 100644 --- a/video/out/gpu/osd.c +++ b/video/out/gpu/osd.c @@ -19,8 +19,6 @@ #include <assert.h> #include <limits.h> -#include <libavutil/common.h> - #include "common/common.h" #include "common/msg.h" #include "video/csputils.h" @@ -140,8 +138,8 @@ static bool upload_osd(struct mpgl_osd *ctx, struct mpgl_osd_part *osd, ra_tex_free(ra, &osd->texture); osd->format = imgs->format; - osd->w = FFMAX(32, req_w); - osd->h = FFMAX(32, req_h); + osd->w = MPMAX(32, req_w); + osd->h = MPMAX(32, req_h); MP_VERBOSE(ctx, "Reallocating OSD texture to %dx%d.\n", osd->w, osd->h); |