ffmpeg | branch: master | Steinar H. Gunderson <steinar+ffm...@gunderson.no> | Fri Jan 13 19:04:25 2017 +0100| [d68d7198becaad02f08eae190ed343a424e3747f] | committer: James Almer
speedhq: Align blocks variable properly. Seemingly ff_clear_block_sse assumed that the block array is aligned, so make sure it is. Fixes ticket #6079 Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d68d7198becaad02f08eae190ed343a424e3747f --- libavcodec/speedhq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c index 9c21c0b..7ccb2c3 100644 --- a/libavcodec/speedhq.c +++ b/libavcodec/speedhq.c @@ -224,7 +224,7 @@ static inline int decode_dct_block(const SHQContext *s, GetBitContext *gb, int l { const int *quant_matrix = s->quant_matrix; const uint8_t *scantable = s->intra_scantable.permutated; - int16_t block[64]; + LOCAL_ALIGNED_16(int16_t, block, [64]); int dc_offset; s->bdsp.clear_block(block); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog