diff options
author | James Almer <jamrial@gmail.com> | 2017-09-26 15:58:40 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-26 16:02:40 -0300 |
commit | 318778de9ebec276cb9dfc65509231ca56590d13 (patch) | |
tree | 795c3dc73c18c00f7ce2b09f91184e09d529d332 /libavcodec/vp9block.c | |
parent | 2508e606fba86f2e460eebb045e29e1f069a4d72 (diff) | |
parent | fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 (diff) | |
download | ffmpeg-318778de9ebec276cb9dfc65509231ca56590d13.tar.gz |
Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3'
* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3':
Mark some arrays that never change as const.
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vp9block.c')
-rw-r--r-- | libavcodec/vp9block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9block.c b/libavcodec/vp9block.c index d4ace149a5..1c3f7a7225 100644 --- a/libavcodec/vp9block.c +++ b/libavcodec/vp9block.c @@ -976,7 +976,7 @@ static av_always_inline int decode_coeffs(VP9TileData *td, int is8bitsperpixel) int16_t (*qmul)[2] = s->s.h.segmentation.feat[b->seg_id].qmul; int tx = 4 * s->s.h.lossless + b->tx; const int16_t * const *yscans = ff_vp9_scans[tx]; - const int16_t (* const *ynbs)[2] = ff_vp9_scans_nb[tx]; + const int16_t (* const * ynbs)[2] = ff_vp9_scans_nb[tx]; const int16_t *uvscan = ff_vp9_scans[b->uvtx][DCT_DCT]; const int16_t (*uvnb)[2] = ff_vp9_scans_nb[b->uvtx][DCT_DCT]; uint8_t *a = &s->above_y_nnz_ctx[col * 2]; |