You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '2b8b0da09cf0dc2535de42f95110eb633f36d8c8'
* commit '2b8b0da09cf0dc2535de42f95110eb633f36d8c8': fdctdsp: cosmetics: Drop one unnecessary if-block level Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -30,8 +30,7 @@ av_cold void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx)
|
|||||||
if (avctx->bits_per_raw_sample == 10) {
|
if (avctx->bits_per_raw_sample == 10) {
|
||||||
c->fdct = ff_jpeg_fdct_islow_10;
|
c->fdct = ff_jpeg_fdct_islow_10;
|
||||||
c->fdct248 = ff_fdct248_islow_10;
|
c->fdct248 = ff_fdct248_islow_10;
|
||||||
} else {
|
} else if (avctx->dct_algo == FF_DCT_FASTINT) {
|
||||||
if (avctx->dct_algo == FF_DCT_FASTINT) {
|
|
||||||
c->fdct = ff_fdct_ifast;
|
c->fdct = ff_fdct_ifast;
|
||||||
c->fdct248 = ff_fdct_ifast248;
|
c->fdct248 = ff_fdct_ifast248;
|
||||||
} else if (avctx->dct_algo == FF_DCT_FAAN) {
|
} else if (avctx->dct_algo == FF_DCT_FAAN) {
|
||||||
@@ -41,7 +40,6 @@ av_cold void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx)
|
|||||||
c->fdct = ff_jpeg_fdct_islow_8; // slow/accurate/default
|
c->fdct = ff_jpeg_fdct_islow_8; // slow/accurate/default
|
||||||
c->fdct248 = ff_fdct248_islow_8;
|
c->fdct248 = ff_fdct248_islow_8;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (ARCH_PPC)
|
if (ARCH_PPC)
|
||||||
ff_fdctdsp_init_ppc(c, avctx, high_bit_depth);
|
ff_fdctdsp_init_ppc(c, avctx, high_bit_depth);
|
||||||
|
Reference in New Issue
Block a user