aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9data.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-07-03 10:09:36 +0200
committerAnton Khirnov <anton@khirnov.net>2017-02-01 10:42:59 +0100
commitfd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (patch)
treee9e285e1f4634de77b1657420b5121d109bed249 /libavcodec/vp9data.c
parentb420a27e74750b60d2e064236afb10be06a38ace (diff)
downloadffmpeg-fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3.tar.gz
Mark some arrays that never change as const.
Diffstat (limited to 'libavcodec/vp9data.c')
-rw-r--r--libavcodec/vp9data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp9data.c b/libavcodec/vp9data.c
index 374fa8bb8c..2b678781b8 100644
--- a/libavcodec/vp9data.c
+++ b/libavcodec/vp9data.c
@@ -483,7 +483,7 @@ const int16_t ff_vp9_default_scan_32x32[1024] = {
924, 925, 956, 926, 957, 988, 927, 958, 989, 1020, 959, 990, 1021, 991, 1022, 1023,
};
-const int16_t *ff_vp9_scans[5][4] = {
+const int16_t * const ff_vp9_scans[5][4] = {
{
ff_vp9_default_scan_4x4, ff_vp9_col_scan_4x4,
ff_vp9_row_scan_4x4, ff_vp9_default_scan_4x4
@@ -1040,7 +1040,7 @@ const int16_t ff_vp9_default_scan_32x32_nb[1024][2] = {
{ 990, 959 }, { 1021, 990 }, { 1022, 991 }, { 0, 0 },
};
-const int16_t (*ff_vp9_scans_nb[5][4])[2] = {
+const int16_t (* const ff_vp9_scans_nb[5][4])[2] = {
{
ff_vp9_default_scan_4x4_nb, ff_vp9_col_scan_4x4_nb,
ff_vp9_row_scan_4x4_nb, ff_vp9_default_scan_4x4_nb