1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Added Juergen Keil fix on quant_tab[4] type.

Originally committed as revision 166 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Juanjo 2001-10-17 18:05:35 +00:00
parent d9cf0d3368
commit ce68c16f41
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@
# #
include config.mak include config.mak
CFLAGS= $(OPTFLAGS) -Wall -g -I./libavcodec -I./libav CFLAGS= $(OPTFLAGS) -Wall -I./libavcodec -I./libav
LDFLAGS= -g LDFLAGS=
ifeq ($(TARGET_GPROF),yes) ifeq ($(TARGET_GPROF),yes)
CFLAGS+=-p CFLAGS+=-p
LDFLAGS+=-p LDFLAGS+=-p

View File

@ -778,7 +778,7 @@ int h263_decode_mb(MpegEncContext *s,
{ {
int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant;
INT16 *mot_val; 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 (s->pict_type == P_TYPE) {
if (get_bits1(&s->gb)) { if (get_bits1(&s->gb)) {