From ce68c16f41650270cc4e9c6d19fefad71959081a Mon Sep 17 00:00:00 2001 From: Juanjo Date: Wed, 17 Oct 2001 18:05:35 +0000 Subject: [PATCH] Added Juergen Keil fix on quant_tab[4] type. Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 4 ++-- libavcodec/h263.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0a4f7c08a3..78c56f3ef5 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ # include config.mak -CFLAGS= $(OPTFLAGS) -Wall -g -I./libavcodec -I./libav -LDFLAGS= -g +CFLAGS= $(OPTFLAGS) -Wall -I./libavcodec -I./libav +LDFLAGS= ifeq ($(TARGET_GPROF),yes) CFLAGS+=-p LDFLAGS+=-p diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 43cb8a0fd3..bef779f74f 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -778,7 +778,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)) {