diff dsputil.c @ 1324:7d328fd9d8a5 libavcodec

the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>)
author michaelni
date Sat, 21 Jun 2003 01:11:31 +0000
parents 449f6e32b425
children 2114c1e206e8
line wrap: on
line diff
--- a/dsputil.c	Sat Jun 21 00:50:40 2003 +0000
+++ b/dsputil.c	Sat Jun 21 01:11:31 2003 +0000
@@ -2860,10 +2860,12 @@
     if(avctx->idct_algo==FF_IDCT_INT){
         c->idct_put= ff_jref_idct_put;
         c->idct_add= ff_jref_idct_add;
+        c->idct    = j_rev_dct;
         c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;
     }else{ //accurate/default
         c->idct_put= simple_idct_put;
         c->idct_add= simple_idct_add;
+        c->idct    = simple_idct;
         c->idct_permutation_type= FF_NO_IDCT_PERM;
     }