History

avcodec/vvc: Use static const for function table

Zhao Zhili committed 2 years ago

Commit 0e5f8dd1 parent 906b8831 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/vvc/thread.c+1−1
@@ -565,7 +565,7 @@ static void task_run_stage(VVCTask *t, VVCContext *s, VVCLocalContext *lc) · 564 unmodified lines
565565 VVCFrameContext *fc = t->fc;
566566 VVCFrameThread *ft = fc->ft;
567567 const VVCTaskStage stage = t->stage;
568− run_func run[] = {
568+ static const run_func run[] = {
569569 run_parse,
570570 run_inter,
571571 run_recon,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t