Since d50635cd247e17fe16c63219b9ae80d45a8185b1 the dct_unquantize_h263_intra functions have set the number of coefficients to 63 in case of ac_pred, so ff_msmpeg4_decode_block() doesn't have to bump it on its own.
Unified · Split
| @@ -802,9 +802,6 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, int16_t * block, · 801 unmodified lines | ||
| 802 | 802 | if (s->mb_intra) { |
| 803 | 803 | not_coded: |
| 804 | 804 | ff_mpeg4_pred_ac(s, block, n, dc_pred_dir); |
| 805 | − if (s->ac_pred) { | |
| 806 | − i = 63; /* XXX: not optimal */ | |
| 807 | − } | |
| 808 | 805 | } |
| 809 | 806 | s->block_last_index[n] = i; |
| 810 | 807 | |