summaryrefslogtreecommitdiff
path: root/libavcodec/alpha
diff options
context:
space:
mode:
authorFalk Hüffner <mellum@users.sourceforge.net>2002-10-05 00:57:42 +0000
committerFalk Hüffner <mellum@users.sourceforge.net>2002-10-05 00:57:42 +0000
commit6c3830660013a0d18dea65edbeb94476f7f56fed (patch)
tree36dfd84cfbc032a62bd420e2f8b9bbca536de82c /libavcodec/alpha
parente447d7d65f99d097aa4b4d2cbf6a76d93eb9c136 (diff)
Make compilable again after DCT cleanup. It gives wrong results,
though, so I disabled it for now. Anybody knows offhand what might be the reason? Originally committed as revision 1005 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alpha')
-rw-r--r--libavcodec/alpha/mpegvideo_alpha.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/alpha/mpegvideo_alpha.c b/libavcodec/alpha/mpegvideo_alpha.c
index 0be3270798..6ecd205dc8 100644
--- a/libavcodec/alpha/mpegvideo_alpha.c
+++ b/libavcodec/alpha/mpegvideo_alpha.c
@@ -21,8 +21,6 @@
#include "../dsputil.h"
#include "../mpegvideo.h"
-extern UINT8 zigzag_end[64];
-
static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block,
int n, int qscale)
{
@@ -41,7 +39,7 @@ static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block,
}
n_coeffs = 64; // does not always use zigzag table
} else {
- n_coeffs = zigzag_end[s->block_last_index[n]];
+ n_coeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
}
qmul = qscale << 1;
@@ -93,5 +91,6 @@ static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block,
void MPV_common_init_axp(MpegEncContext *s)
{
- s->dct_unquantize_h263 = dct_unquantize_h263_axp;
+ /* disabled for now, buggy */
+ //s->dct_unquantize_h263 = dct_unquantize_h263_axp;
}