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/swscale.c | |
parent | 226d35c84591f1901c2a13819031549909faa1f5 (diff) | |
download | ffmpeg-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/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index c3a8d0efd4..eb2f182ce6 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -254,7 +254,7 @@ static int swscale(SwsContext *c, const uint8_t *src[], yuv2anyX_fn yuv2anyX = c->yuv2anyX; const int chrSrcSliceY = srcSliceY >> c->chrSrcVSubSample; const int chrSrcSliceH = AV_CEIL_RSHIFT(srcSliceH, c->chrSrcVSubSample); - int should_dither = is9_OR_10BPS(c->srcFormat) || + int should_dither = isNBPS(c->srcFormat) || is16BPS(c->srcFormat); int lastDstY; |