aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vvc/thread.c
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2024-07-08 15:40:20 +0800
committerNuo Mi <nuomi2021@gmail.com>2024-07-11 20:26:47 +0800
commit0e5f8ddc1d363256d74aca92ae02a10a9a033e94 (patch)
tree4a69272899dae4468f8b163064e587307c4c4e00 /libavcodec/vvc/thread.c
parent906b883e7beafdd78e32563ed7a5033995362751 (diff)
downloadffmpeg-0e5f8ddc1d363256d74aca92ae02a10a9a033e94.tar.gz
avcodec/vvc: Use static const for function table
Diffstat (limited to 'libavcodec/vvc/thread.c')
-rw-r--r--libavcodec/vvc/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vvc/thread.c b/libavcodec/vvc/thread.c
index 0cacb1f51c..8dd9a36fd5 100644
--- a/libavcodec/vvc/thread.c
+++ b/libavcodec/vvc/thread.c
@@ -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,