aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/proresdec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-09 11:00:01 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-09 11:07:12 -0800
commit73e15e8e6b92a0b8cf3b34ae18220545c1a4e24a (patch)
tree26ddefcc743966e891d38a436e80fd0068ad11b7 /libavcodec/proresdec.c
parent0f3d8baef9f83d278ef3ef8d02fab742a44ee484 (diff)
downloadffmpeg-73e15e8e6b92a0b8cf3b34ae18220545c1a4e24a.tar.gz
prores: specify array size outside DECLARE_ALIGNED brackets.
Diffstat (limited to 'libavcodec/proresdec.c')
-rw-r--r--libavcodec/proresdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c
index 031760c3bb..7617cb3c98 100644
--- a/libavcodec/proresdec.c
+++ b/libavcodec/proresdec.c
@@ -42,7 +42,7 @@ typedef struct {
int slice_num;
int x_pos, y_pos;
int slice_width;
- DECLARE_ALIGNED(16, DCTELEM, blocks[8 * 4 * 64]);
+ DECLARE_ALIGNED(16, DCTELEM, blocks)[8 * 4 * 64];
} ProresThreadData;
typedef struct {
@@ -57,8 +57,8 @@ typedef struct {
uint8_t qmat_chroma[64]; ///< dequantization matrix for chroma
int qmat_changed; ///< 1 - global quantization matrices changed
int prev_slice_sf; ///< scalefactor of the previous decoded slice
- DECLARE_ALIGNED(16, int16_t, qmat_luma_scaled[64]);
- DECLARE_ALIGNED(16, int16_t, qmat_chroma_scaled[64]);
+ DECLARE_ALIGNED(16, int16_t, qmat_luma_scaled)[64];
+ DECLARE_ALIGNED(16, int16_t, qmat_chroma_scaled)[64];
int total_slices; ///< total number of slices in a picture
ProresThreadData *slice_data;
int pic_num;