ffmpeg | branch: master | Zhao Zhili <zhiliz...@tencent.com> | Mon Jul  8 
15:40:20 2024 +0800| [0e5f8ddc1d363256d74aca92ae02a10a9a033e94] | committer: 
Nuo Mi

avcodec/vvc: Use static const for function table

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e5f8ddc1d363256d74aca92ae02a10a9a033e94
---

 libavcodec/vvc/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to