summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-10-15 16:20:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-10-15 16:20:50 +0000
commitf539eb52fe400eee7b47605ca7ee3a6b54bfb101 (patch)
tree2070ac5d35dcda1c81973bb6ea94fd7945c35960
parentbcc7125e1d389e54b5772e766a2c354099544356 (diff)
align
Originally committed as revision 2389 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index a9501886b8..10fc01466d 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -485,7 +485,8 @@ static inline void dv_decode_video_segment(DVVideoDecodeContext *s,
}
} else {
if (s->sys->pix_fmt == PIX_FMT_YUV411P && mb_x >= (704 / 8)) {
- uint8_t pixels[64], *c_ptr, *c_ptr1, *ptr;
+ uint64_t aligned_pixels[64/8], *c_ptr, *c_ptr1, *ptr;
+ uint8_t *pixels= (uint8_t*)aligned_pixels;
int y, linesize;
/* NOTE: at end of line, the macroblock is handled as 420 */
idct_put(pixels, 8, block);