Revision b7ec19d3 libavcodec/h263dec.c

View differences:

libavcodec/h263dec.c
79 79
{
80 80
    MpegEncContext *s = avctx->priv_data;
81 81
    int ret;
82
    DCTELEM block[6][64];
83 82
    AVPicture *pict = data; 
84 83

  
85 84
#ifdef DEBUG
......
131 130
                s->c_dc_scale = 8;
132 131
            }
133 132

  
134
            memset(block, 0, sizeof(block));
133
            memset(s->block, 0, sizeof(s->block));
135 134
            s->mv_dir = MV_DIR_FORWARD;
136 135
            s->mv_type = MV_TYPE_16X16; 
137 136
            if (s->h263_msmpeg4) {
138
                if (msmpeg4_decode_mb(s, block) < 0)
137
                if (msmpeg4_decode_mb(s, s->block) < 0)
139 138
                    return -1;
140 139
            } else {
141
                if (h263_decode_mb(s, block) < 0)
140
                if (h263_decode_mb(s, s->block) < 0)
142 141
                    return -1;
143 142
            }
144
            MPV_decode_mb(s, block);
143
            MPV_decode_mb(s, s->block);
145 144
        }
146 145
    }
147 146

  

Also available in: Unified diff