diff options
author | Yaowu Xu <yaowu@google.com> | 2014-02-21 16:58:36 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2014-02-21 22:44:13 -0800 |
commit | 5a7ac03b9ea8e75f84982e5bc6d3145c8a43d41c (patch) | |
tree | 12939f931aef112d4d3059186b789122db898374 /vp9/encoder/vp9_pickmode.c | |
parent | f1633e584493e1e37d3223fe15bfb26a2ce00782 (diff) | |
download | libvpx-5a7ac03b9ea8e75f84982e5bc6d3145c8a43d41c.tar libvpx-5a7ac03b9ea8e75f84982e5bc6d3145c8a43d41c.tar.gz libvpx-5a7ac03b9ea8e75f84982e5bc6d3145c8a43d41c.tar.bz2 libvpx-5a7ac03b9ea8e75f84982e5bc6d3145c8a43d41c.zip |
Changed a constant array to static const type
Change-Id: I5b3918441f63ceb7889dcf546e9a2d781be4a3cb
Diffstat (limited to 'vp9/encoder/vp9_pickmode.c')
-rw-r--r-- | vp9/encoder/vp9_pickmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index a4e11d6d0..383d92751 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -192,7 +192,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, VP9_ALT_FLAG }; int64_t best_rd = INT64_MAX; int64_t this_rd; - int64_t cost[4]= { 0, 50, 75, 100 }; + static const int cost[4]= { 0, 50, 75, 100 }; const int64_t inter_mode_thresh = 300; const int64_t intra_mode_cost = 50; |