diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-11-04 04:42:30 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-04 05:32:18 +0400 |
commit | 6cf0c4107fbe665104b4a711a7772d4325009e15 (patch) | |
tree | b434665070829edaaf95ea98ac683236a6fb993b /libavcodec/vp9.c | |
parent | e1351662063d6aa9c0a04b869afc88b252155de8 (diff) |
Put vp9_scans and vp9_scans_nb in ro_data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r-- | libavcodec/vp9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 80bb9a515c..3539a548ef 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -1904,8 +1904,8 @@ static int decode_coeffs(AVCodecContext *ctx) int uvstep1d = 1 << b->uvtx, uvstep = 1 << (b->uvtx * 2), res; int16_t (*qmul)[2] = s->segmentation.feat[b->seg_id].qmul; int tx = 4 * s->lossless + b->tx; - const int16_t **yscans = vp9_scans[tx]; - const int16_t (**ynbs)[2] = vp9_scans_nb[tx]; + const int16_t * const *yscans = vp9_scans[tx]; + const int16_t (* const *ynbs)[2] = vp9_scans_nb[tx]; const int16_t *uvscan = vp9_scans[b->uvtx][DCT_DCT]; const int16_t (*uvnb)[2] = vp9_scans_nb[b->uvtx][DCT_DCT]; uint8_t *a = &s->above_y_nnz_ctx[col * 2]; |