diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-09 20:45:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-10 00:33:12 +0100 |
commit | d736b52a045c5a51d5dce0da3905619b51b878d9 (patch) | |
tree | a760e072f6c7024bb1674e8afc984d70609c9907 /libswscale/x86 | |
parent | 226d35c84591f1901c2a13819031549909faa1f5 (diff) | |
download | ffmpeg-streaming-d736b52a045c5a51d5dce0da3905619b51b878d9.zip ffmpeg-streaming-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/x86')
-rw-r--r-- | libswscale/x86/swscale_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c index 1a10227..b8bdcd4 100644 --- a/libswscale/x86/swscale_template.c +++ b/libswscale/x86/swscale_template.c @@ -1499,7 +1499,7 @@ static av_cold void RENAME(sws_init_swscale)(SwsContext *c) enum AVPixelFormat dstFormat = c->dstFormat; c->use_mmx_vfilter= 0; - if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) && dstFormat != AV_PIX_FMT_NV12 + if (!is16BPS(dstFormat) && !isNBPS(dstFormat) && dstFormat != AV_PIX_FMT_NV12 && dstFormat != AV_PIX_FMT_NV21 && !(c->flags & SWS_BITEXACT)) { if (c->flags & SWS_ACCURATE_RND) { if (!(c->flags & SWS_FULL_CHR_H_INT)) { |