summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2001-10-17 18:05:35 +0000
committerJuanjo <pulento@users.sourceforge.net>2001-10-17 18:05:35 +0000
commitce68c16f41650270cc4e9c6d19fefad71959081a (patch)
tree45c5ce5776b63af07f5ffa587e619a8c4dc0b152
parentd9cf0d3368f3067183f0353d0a6dd255556fce20 (diff)
Added Juergen Keil fix on quant_tab[4] type.
Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile4
-rw-r--r--libavcodec/h263.c2
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)) {