From c10ba5eb8e62d04ed80cad512cf4863dadee07f1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 31 Oct 2019 13:17:18 +0100 Subject: Use mp_log2() instead of av_log2() --- misc/bstr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'misc') diff --git a/misc/bstr.c b/misc/bstr.c index 4117514457..772ca9c66d 100644 --- a/misc/bstr.c +++ b/misc/bstr.c @@ -22,8 +22,6 @@ #include #include -#include - #include "mpv_talloc.h" #include "common/common.h" @@ -272,7 +270,7 @@ int bstr_parse_utf8_code_length(unsigned char b) { if (b < 128) return 1; - int bytes = 7 - av_log2(b ^ 255); + int bytes = 7 - mp_log2(b ^ 255); return (bytes >= 2 && bytes <= 4) ? bytes : -1; } -- cgit v1.2.3