diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-20 20:32:50 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-20 20:32:50 +0300 |
commit | bb852f0066880a79002f60589106d531bd698850 (patch) | |
tree | ae378d93eae01bc5f772952cd66f5d09f4dda507 /libavcodec | |
parent | 8db0c2ffe60d652d4f2942429281a34bc96bbb59 (diff) |
avcodec/fdctdsp: use the 10bit code for 9 bit too
9bit is currently not used
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/fdctdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fdctdsp.c b/libavcodec/fdctdsp.c index c4b7358caf..b9c2c86322 100644 --- a/libavcodec/fdctdsp.c +++ b/libavcodec/fdctdsp.c @@ -27,7 +27,7 @@ av_cold void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx) { const unsigned high_bit_depth = avctx->bits_per_raw_sample > 8; - if (avctx->bits_per_raw_sample == 10) { + if (avctx->bits_per_raw_sample == 10 || avctx->bits_per_raw_sample == 9) { c->fdct = ff_jpeg_fdct_islow_10; c->fdct248 = ff_fdct248_islow_10; } else if (avctx->dct_algo == FF_DCT_FASTINT) { |