diff options
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 708fbd9835..999b133bdf 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2736,18 +2736,10 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx) switch (avctx->bits_per_raw_sample) { case 9: - if (c->dct_bits == 32) { - BIT_DEPTH_FUNCS(9, _32); - } else { - BIT_DEPTH_FUNCS(9, _16); - } + BIT_DEPTH_FUNCS(9, _16); break; case 10: - if (c->dct_bits == 32) { - BIT_DEPTH_FUNCS(10, _32); - } else { - BIT_DEPTH_FUNCS(10, _16); - } + BIT_DEPTH_FUNCS(10, _16); break; default: BIT_DEPTH_FUNCS(8, _16); |