diff options
Diffstat (limited to 'libavcodec/avdct.c')
-rw-r--r-- | libavcodec/avdct.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/avdct.c b/libavcodec/avdct.c index 58f4974b49..252125601b 100644 --- a/libavcodec/avdct.c +++ b/libavcodec/avdct.c @@ -21,6 +21,7 @@ #include "avcodec.h" #include "idctdsp.h" #include "fdctdsp.h" +#include "pixblockdsp.h" #include "avdct.h" #define OFFSET(x) offsetof(AVDCT,x) @@ -117,6 +118,14 @@ int avcodec_dct_init(AVDCT *dsp) } #endif +#if CONFIG_PIXBLOCKDSP + { + PixblockDSPContext pdsp; + ff_pixblockdsp_init(&pdsp, avctx); + COPY(pdsp, get_pixels); + } +#endif + avcodec_close(avctx); av_free(avctx); |