From e30d0ce5e94b4d0122fc5e1f8c9782b22ec74327 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Thu, 18 Oct 2001 14:45:58 +0000 Subject: Bad type for quant_tab fixed. Code is intended to use negative values but does not so, with the bad type (problem&fix reported to ffmpeg, and now re-imported from ffmpeg cvs) CVS patchset: 831 CVS date: 2001/10/18 14:45:58 --- src/libffmpeg/libavcodec/h263.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libffmpeg/libavcodec/h263.c b/src/libffmpeg/libavcodec/h263.c index 12f14db04..29e6ab191 100644 --- a/src/libffmpeg/libavcodec/h263.c +++ b/src/libffmpeg/libavcodec/h263.c @@ -720,7 +720,7 @@ int h263_decode_mb(MpegEncContext *s, { int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; INT16 *mot_val; - static UINT8 quant_tab[4] = { -1, -2, 1, 2 }; + static INT8 quant_tab[4] = { -1, -2, 1, 2 }; if (s->pict_type == P_TYPE) { if (get_bits1(&s->gb)) { -- cgit v1.2.3