You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/msmpeg4dec: Avoid branch
A non-LTO-compiler can't optimize this away. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -799,8 +799,8 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, int16_t * block,
|
|||||||
}
|
}
|
||||||
CLOSE_READER(re, &s->gb);
|
CLOSE_READER(re, &s->gb);
|
||||||
}
|
}
|
||||||
not_coded:
|
|
||||||
if (s->mb_intra) {
|
if (s->mb_intra) {
|
||||||
|
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) {
|
if (s->ac_pred) {
|
||||||
i = 63; /* XXX: not optimal */
|
i = 63; /* XXX: not optimal */
|
||||||
|
Reference in New Issue
Block a user