avcodec/vvc: Use static const for function table

This commit is contained in:
Zhao Zhili
2024-07-11 20:26:47 +08:00
committed by Nuo Mi
co-authored by Nuo Mi
parent 906b883e7b
commit 0e5f8ddc1d
+1 -1
View File
@@ -565,7 +565,7 @@ static void task_run_stage(VVCTask *t, VVCContext *s, VVCLocalContext *lc)
VVCFrameContext *fc = t->fc;
VVCFrameThread *ft = fc->ft;
const VVCTaskStage stage = t->stage;
run_func run[] = {
static const run_func run[] = {
run_parse,
run_inter,
run_recon,