|
|
@ -1226,7 +1226,7 @@ static int mpeg4_decode_partitioned_mb(MpegEncContext *s, int16_t block[6][64]) |
|
|
|
s->dsp.clear_blocks(s->block[0]); |
|
|
|
s->dsp.clear_blocks(s->block[0]); |
|
|
|
/* decode each block */ |
|
|
|
/* decode each block */ |
|
|
|
for (i = 0; i < 6; i++) { |
|
|
|
for (i = 0; i < 6; i++) { |
|
|
|
if (mpeg4_decode_block(s, block[i], i, cbp & 32, s->mb_intra, s->rvlc) < 0) { |
|
|
|
if (mpeg4_decode_block(s, block[i], i, cbp & 32, s->mb_intra, ctx->rvlc) < 0) { |
|
|
|
av_log(s->avctx, AV_LOG_ERROR, |
|
|
|
av_log(s->avctx, AV_LOG_ERROR, |
|
|
|
"texture corrupted at %d %d %d\n", |
|
|
|
"texture corrupted at %d %d %d\n", |
|
|
|
s->mb_x, s->mb_y, s->mb_intra); |
|
|
|
s->mb_x, s->mb_y, s->mb_intra); |
|
|
@ -1935,7 +1935,7 @@ no_cplx_est: |
|
|
|
|
|
|
|
|
|
|
|
s->data_partitioning = get_bits1(gb); |
|
|
|
s->data_partitioning = get_bits1(gb); |
|
|
|
if (s->data_partitioning) |
|
|
|
if (s->data_partitioning) |
|
|
|
s->rvlc = get_bits1(gb); |
|
|
|
ctx->rvlc = get_bits1(gb); |
|
|
|
|
|
|
|
|
|
|
|
if (vo_ver_id != 1) { |
|
|
|
if (vo_ver_id != 1) { |
|
|
|
s->new_pred = get_bits1(gb); |
|
|
|
s->new_pred = get_bits1(gb); |
|
|
|