summaryrefslogtreecommitdiffstats
path: root/libswscale/x86
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/x86
parente87a501e7d03ac68b58520108fe24ad9d0b36765 (diff)
downloadffmpeg-streaming-2b5b1e1e9b89063d352e2efed014f9d761b85032.zip
ffmpeg-streaming-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/x86')
-rw-r--r--libswscale/x86/swscale_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c
index 3fb8bc8..e0d1abe 100644
--- a/libswscale/x86/swscale_template.c
+++ b/libswscale/x86/swscale_template.c
@@ -1564,7 +1564,7 @@ static av_cold void RENAME(sws_init_swscale)(SwsContext *c)
{
enum AVPixelFormat dstFormat = c->dstFormat;
- if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) &&
+ if (!is16BPS(dstFormat) && !is9_15BPS(dstFormat) &&
dstFormat != AV_PIX_FMT_NV12 && dstFormat != AV_PIX_FMT_NV21) {
if (!(c->flags & SWS_BITEXACT)) {
if (c->flags & SWS_ACCURATE_RND) {
OpenPOWER on IntegriCloud