diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-22 03:25:11 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-22 03:25:11 +0000 |
commit | c67278098def4438fc587744f5df1c147bc95dc3 (patch) | |
tree | 032a9f82fd504566b8e7361d6ea6e80cbda18c0c /libavcodec/dv.c | |
parent | 27ce1be89ba765d4129a638f2dd673e1f6e17682 (diff) | |
download | ffmpeg-c67278098def4438fc587744f5df1c147bc95dc3.tar.gz |
Move array specifiers outside DECLARE_ALIGNED() invocations
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 10b2c0e952..94833fc89d 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -532,9 +532,9 @@ static int dv_decode_video_segment(AVCodecContext *avctx, void *arg) PutBitContext pb, vs_pb; GetBitContext gb; BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1; - DECLARE_ALIGNED_16(DCTELEM, sblock[5*DV_MAX_BPM][64]); - DECLARE_ALIGNED_16(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */ - DECLARE_ALIGNED_16(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */ + DECLARE_ALIGNED_16(DCTELEM, sblock)[5*DV_MAX_BPM][64]; + DECLARE_ALIGNED_16(uint8_t, mb_bit_buffer)[80 + 4]; /* allow some slack */ + DECLARE_ALIGNED_16(uint8_t, vs_bit_buffer)[5 * 80 + 4]; /* allow some slack */ const int log2_blocksize = 3-s->avctx->lowres; int is_field_mode[5]; @@ -833,7 +833,7 @@ static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, i { const int *weight; const uint8_t* zigzag_scan; - DECLARE_ALIGNED_16(DCTELEM, blk[64]); + DECLARE_ALIGNED_16(DCTELEM, blk)[64]; int i, area; /* We offer two different methods for class number assignment: the method suggested in SMPTE 314M Table 22, and an improved |