You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/msmpeg4dec: Remove redundant check
Since d50635cd24
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.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -802,9 +802,6 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, int16_t * block,
|
|||||||
if (s->mb_intra) {
|
if (s->mb_intra) {
|
||||||
not_coded:
|
not_coded:
|
||||||
ff_mpeg4_pred_ac(s, block, n, dc_pred_dir);
|
ff_mpeg4_pred_ac(s, block, n, dc_pred_dir);
|
||||||
if (s->ac_pred) {
|
|
||||||
i = 63; /* XXX: not optimal */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
s->block_last_index[n] = i;
|
s->block_last_index[n] = i;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user