changeset 876:c76442f7d0b2 libavcodec

* oops fixed bad initialization of ff vals. - put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now
author kabi
date Tue, 19 Nov 2002 10:08:31 +0000
parents 2c350f59233a
children 9d50cf6d6361
files armv4l/mpegvideo_arm.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/armv4l/mpegvideo_arm.c	Tue Nov 19 09:17:52 2002 +0000
+++ b/armv4l/mpegvideo_arm.c	Tue Nov 19 10:08:31 2002 +0000
@@ -44,12 +44,12 @@
     int i;
     const int idct_algo= s->avctx->idct_algo;
 
-    ff_put_pixels_clamped = s->avctx->dsp.put_pixels_clamped;
-    ff_add_pixels_clamped = s->avctx->dsp.put_pixels_clamped;
+    ff_put_pixels_clamped = s->dsp.put_pixels_clamped;
+    ff_add_pixels_clamped = s->dsp.put_pixels_clamped;
 
     if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_ARM){
         s->idct_put= arm_idct_put;
         s->idct_add= arm_idct_add;
-        s->idct_permutation_type= FF_NO_IDCT_PERM;
+        s->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;/* FF_NO_IDCT_PERM */
     }
 }