aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_cabac.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-21 22:09:35 +0200
committerClément Bœsch <u@pkh.me>2016-06-21 22:09:35 +0200
commit8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca (patch)
treec19d08d53e0243fec0e083c1522bfee93f969fda /libavcodec/hevc_cabac.c
parentea80e90e134c8325add9e11eb07a52b0af815deb (diff)
parent5afb94c817abffad030c6b94d7003dca8aace3d5 (diff)
downloadffmpeg-8df1dbd7980a6b09c0b6f43299a49e56d19bd1ca.tar.gz
Merge commit '5afb94c817abffad030c6b94d7003dca8aace3d5'
* commit '5afb94c817abffad030c6b94d7003dca8aace3d5': Mark read-only tables as static Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/hevc_cabac.c')
-rw-r--r--libavcodec/hevc_cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_cabac.c b/libavcodec/hevc_cabac.c
index d1bef8320f..05b2821840 100644
--- a/libavcodec/hevc_cabac.c
+++ b/libavcodec/hevc_cabac.c
@@ -1039,7 +1039,7 @@ void ff_hevc_hls_residual_coding(HEVCContext *s, int x0, int y0,
int trafo_size = 1 << log2_trafo_size;
int i;
int qp,shift,add,scale,scale_m;
- const uint8_t level_scale[] = { 40, 45, 51, 57, 64, 72 };
+ static const uint8_t level_scale[] = { 40, 45, 51, 57, 64, 72 };
const uint8_t *scale_matrix = NULL;
uint8_t dc_scale;
int pred_mode_intra = (c_idx == 0) ? lc->tu.intra_pred_mode :