From d736b52a045c5a51d5dce0da3905619b51b878d9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 9 Nov 2016 20:45:33 +0100 Subject: swscale: Drop is9_OR_10BPS() use, its name is not correct Found-by: Luca Barbato Signed-off-by: Michael Niedermayer --- libswscale/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/output.c') diff --git a/libswscale/output.c b/libswscale/output.c index 62cbe2ffaa..ea1ee54f3c 100644 --- a/libswscale/output.c +++ b/libswscale/output.c @@ -2184,7 +2184,7 @@ av_cold void ff_sws_init_output_funcs(SwsContext *c, } else if (is16BPS(dstFormat)) { *yuv2planeX = isBE(dstFormat) ? yuv2planeX_16BE_c : yuv2planeX_16LE_c; *yuv2plane1 = isBE(dstFormat) ? yuv2plane1_16BE_c : yuv2plane1_16LE_c; - } else if (is9_OR_10BPS(dstFormat)) { + } else if (isNBPS(dstFormat)) { if (desc->comp[0].depth == 9) { *yuv2planeX = isBE(dstFormat) ? yuv2planeX_9BE_c : yuv2planeX_9LE_c; *yuv2plane1 = isBE(dstFormat) ? yuv2plane1_9BE_c : yuv2plane1_9LE_c; -- cgit v1.2.3