History

avcodec/dnxhdenc: Remove always-false check

Always false since 49331f7ba3e3214738864af96d22fb1e6b5463b7.

Andreas Rheinhardt committed 2 years ago

Commit f0c021b1 parent 1fe2a971 file · +0 −3Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/dnxhdenc.c+0−3
@@ -430,9 +430,6 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx) · 429 unmodified lines
430 if (ctx->profile != AV_PROFILE_DNXHD)430 if (ctx->profile != AV_PROFILE_DNXHD)
431 ff_videodsp_init(&ctx->m.vdsp, ctx->bit_depth);431 ff_videodsp_init(&ctx->m.vdsp, ctx->bit_depth);
432 432
433 if (!ctx->m.dct_quantize)
434 ctx->m.dct_quantize = ff_dct_quantize_c;
435
436 if (ctx->is_444 || ctx->profile == AV_PROFILE_DNXHR_HQX) {433 if (ctx->is_444 || ctx->profile == AV_PROFILE_DNXHR_HQX) {
437 ctx->m.dct_quantize = dnxhd_10bit_dct_quantize_444;434 ctx->m.dct_quantize = dnxhd_10bit_dct_quantize_444;
438 ctx->get_pixels_8x4_sym = dnxhd_10bit_get_pixels_8x4_sym;435 ctx->get_pixels_8x4_sym = dnxhd_10bit_get_pixels_8x4_sym;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t