mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Fix compilation condition for some ProRes dsp encoder functions.
Found, analysed and tested by trac user Jamal. Fixes part of Ticket #1404.
This commit is contained in:
parent
84986b4e61
commit
568a592418
@ -53,7 +53,7 @@ static void prores_idct_put_c(uint16_t *out, int linesize, DCTELEM *block, const
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_PRORES_ENCODER
|
#if CONFIG_PRORES_KOSTYA_ENCODER
|
||||||
static void prores_fdct_c(const uint16_t *src, int linesize, DCTELEM *block)
|
static void prores_fdct_c(const uint16_t *src, int linesize, DCTELEM *block)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
@ -79,7 +79,7 @@ void ff_proresdsp_init(ProresDSPContext *dsp, AVCodecContext *avctx)
|
|||||||
ff_init_scantable_permutation(dsp->idct_permutation,
|
ff_init_scantable_permutation(dsp->idct_permutation,
|
||||||
dsp->idct_permutation_type);
|
dsp->idct_permutation_type);
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_PRORES_ENCODER
|
#if CONFIG_PRORES_KOSTYA_ENCODER
|
||||||
dsp->fdct = prores_fdct_c;
|
dsp->fdct = prores_fdct_c;
|
||||||
dsp->dct_permutation_type = FF_NO_IDCT_PERM;
|
dsp->dct_permutation_type = FF_NO_IDCT_PERM;
|
||||||
ff_init_scantable_permutation(dsp->dct_permutation,
|
ff_init_scantable_permutation(dsp->dct_permutation,
|
||||||
|
Loading…
Reference in New Issue
Block a user