Added Juergen Keil fix on quant_tab[4] type.

Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Juanjo 24 years ago
parent d9cf0d3368
commit ce68c16f41
  1. 4
      Makefile
  2. 2
      libavcodec/h263.c

@ -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

@ -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)) {

Loading…
Cancel
Save