Message ID | AS8P250MB0744B447474582187460B9FB8FC52@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/7] avcodec/dnxhdenc: Remove always-false check | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Andreas Rheinhardt: > Always false since 49331f7ba3e3214738864af96d22fb1e6b5463b7. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/dnxhdenc.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c > index 028604a6e5..8b67becbe2 100644 > --- a/libavcodec/dnxhdenc.c > +++ b/libavcodec/dnxhdenc.c > @@ -430,9 +430,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; Will apply this patchset tomorrow unless there are objections. - Andreas
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 028604a6e5..8b67becbe2 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -430,9 +430,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;
Always false since 49331f7ba3e3214738864af96d22fb1e6b5463b7. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/dnxhdenc.c | 3 --- 1 file changed, 3 deletions(-)