idct: cosmetics: Drop one unnecessary if-block level
This commit is contained in:
parent
444c73583d
commit
6f1960ab71
@ -162,8 +162,7 @@ av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)
|
||||
c->idct_add = ff_simple_idct_add_10;
|
||||
c->idct = ff_simple_idct_10;
|
||||
c->perm_type = FF_IDCT_PERM_NONE;
|
||||
} else {
|
||||
if (avctx->idct_algo == FF_IDCT_INT) {
|
||||
} else if (avctx->idct_algo == FF_IDCT_INT) {
|
||||
c->idct_put = jref_idct_put;
|
||||
c->idct_add = jref_idct_add;
|
||||
c->idct = ff_j_rev_dct;
|
||||
@ -179,7 +178,6 @@ av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)
|
||||
c->idct = ff_simple_idct_8;
|
||||
c->perm_type = FF_IDCT_PERM_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
c->put_pixels_clamped = put_pixels_clamped_c;
|
||||
c->put_signed_pixels_clamped = put_signed_pixels_clamped_c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user