comparison h263.c @ 110:e00e5d93457c libavcodec

Added Juergen Keil fix on quant_tab[4] type.
author pulento
date Wed, 17 Oct 2001 18:05:35 +0000
parents 82e579c37bc3
children cb5dabd00ba2
comparison
equal deleted inserted replaced
109:dfa9fde4b72d 110:e00e5d93457c
776 int h263_decode_mb(MpegEncContext *s, 776 int h263_decode_mb(MpegEncContext *s,
777 DCTELEM block[6][64]) 777 DCTELEM block[6][64])
778 { 778 {
779 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; 779 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant;
780 INT16 *mot_val; 780 INT16 *mot_val;
781 static UINT8 quant_tab[4] = { -1, -2, 1, 2 }; 781 static INT8 quant_tab[4] = { -1, -2, 1, 2 };
782 782
783 if (s->pict_type == P_TYPE) { 783 if (s->pict_type == P_TYPE) {
784 if (get_bits1(&s->gb)) { 784 if (get_bits1(&s->gb)) {
785 /* skip mb */ 785 /* skip mb */
786 s->mb_intra = 0; 786 s->mb_intra = 0;