aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/output.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-09-27 18:13:37 +0200
committerLuca Barbato <lu_zero@gentoo.org>2016-09-27 18:48:30 +0200
commit2b5b1e1e9b89063d352e2efed014f9d761b85032 (patch)
tree05ae95e7dbb8048c4ddedb50cd7941dcaa5e2d34 /libswscale/output.c
parente87a501e7d03ac68b58520108fe24ad9d0b36765 (diff)
downloadffmpeg-2b5b1e1e9b89063d352e2efed014f9d761b85032.tar.gz
swscale: Rename is9_OR_10 to match what it does
It is used to select functions that work with 9-15bits.
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 93b3db65eb..6a51bb9bdf 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -1364,7 +1364,7 @@ av_cold void ff_sws_init_output_funcs(SwsContext *c,
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 (is9_15BPS(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;