mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
avcodec/dnxhdenc: Remove always-false check
Always false since 49331f7ba3
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
b51d118eda
commit
522cc2afdb
@ -429,9 +429,6 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
|
||||
if (ctx->profile != AV_PROFILE_DNXHD)
|
||||
ff_videodsp_init(&ctx->m.vdsp, ctx->bit_depth);
|
||||
|
||||
if (!ctx->m.dct_quantize)
|
||||
ctx->m.dct_quantize = ff_dct_quantize_c;
|
||||
|
||||
if (ctx->is_444 || ctx->profile == AV_PROFILE_DNXHR_HQX) {
|
||||
ctx->m.dct_quantize = dnxhd_10bit_dct_quantize_444;
|
||||
ctx->get_pixels_8x4_sym = dnxhd_10bit_get_pixels_8x4_sym;
|
||||
|
Loading…
Reference in New Issue
Block a user