mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
avcodec/vvc/ctu: Simplify code at the end of pred_mode_decode()
This simplification assumes that the code is correct Fixes: CID1560036 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
affeca005a
commit
8f74c313f1
@ -1080,12 +1080,10 @@ static PredMode pred_mode_decode(VVCLocalContext *lc,
|
|||||||
}
|
}
|
||||||
if (pred_mode_ibc_flag)
|
if (pred_mode_ibc_flag)
|
||||||
pred_mode = MODE_IBC;
|
pred_mode = MODE_IBC;
|
||||||
|
return pred_mode;
|
||||||
} else {
|
} else {
|
||||||
pred_mode_flag = is_4x4 || mode_type == MODE_TYPE_INTRA ||
|
return MODE_INTRA;
|
||||||
mode_type != MODE_TYPE_INTER || IS_I(rsh);
|
|
||||||
pred_mode = pred_mode_flag ? MODE_INTRA : MODE_INTER;
|
|
||||||
}
|
}
|
||||||
return pred_mode;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sbt_info(VVCLocalContext *lc, const VVCSPS *sps)
|
static void sbt_info(VVCLocalContext *lc, const VVCSPS *sps)
|
||||||
|
Loading…
Reference in New Issue
Block a user