diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-11-11 17:38:43 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-05 10:48:34 +0200 |
commit | 5afb94c817abffad030c6b94d7003dca8aace3d5 (patch) | |
tree | 517222058bab9a1b2ba41abd4a38280388dbf57a /libavcodec/hevc.c | |
parent | 1f1ad8ace040a08edc2646ff638ca42a8828779f (diff) | |
download | ffmpeg-streaming-5afb94c817abffad030c6b94d7003dca8aace3d5.zip ffmpeg-streaming-5afb94c817abffad030c6b94d7003dca8aace3d5.tar.gz |
Mark read-only tables as static
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 3bc730a..177cf93 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -902,7 +902,7 @@ static void hls_residual_coding(HEVCContext *s, int x0, int y0, int trafo_size = 1 << log2_trafo_size; int i, 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; uint8_t dc_scale; |