Added Juergen Keil fix on quant_tab[4] type.
authorJuanjo <pulento@users.sourceforge.net>
Wed, 17 Oct 2001 18:05:35 +0000 (18:05 +0000)
committerJuanjo <pulento@users.sourceforge.net>
Wed, 17 Oct 2001 18:05:35 +0000 (18:05 +0000)
Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
libavcodec/h263.c

index 0a4f7c0..78c56f3 100644 (file)
--- 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
index 43cb8a0..bef779f 100644 (file)
@@ -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)) {