aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/output.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-11-09 20:45:33 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-10 00:33:12 +0100
commitd736b52a045c5a51d5dce0da3905619b51b878d9 (patch)
treea760e072f6c7024bb1674e8afc984d70609c9907 /libswscale/output.c
parent226d35c84591f1901c2a13819031549909faa1f5 (diff)
downloadffmpeg-d736b52a045c5a51d5dce0da3905619b51b878d9.tar.gz
swscale: Drop is9_OR_10BPS() use, its name is not correct
Found-by: Luca Barbato Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/output.c')
-rw-r--r--libswscale/output.c2
1 files changed, 1 insertions, 1 deletions
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;