diff options
author | Martin Storsjö <martin@martin.st> | 2017-03-29 13:43:40 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-03-31 22:06:47 +0300 |
commit | 26d9b60373bf45bc4f91ff6815f5fa36764d4d7b (patch) | |
tree | 23a292b5e56ac92fdd1441c5a9a631e536473e02 | |
parent | 163cc67beb3ed28aeb500c9a09df47c8df613025 (diff) | |
download | ffmpeg-26d9b60373bf45bc4f91ff6815f5fa36764d4d7b.tar.gz |
hevc: Avoid using LOCAL_ALIGNED for 4 byte alignment
The data types within the MvField struct themselves imply 4 byte alignment.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavcodec/hevc_mvs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_mvs.c b/libavcodec/hevc_mvs.c index be32e6cd40..27df7c1527 100644 --- a/libavcodec/hevc_mvs.c +++ b/libavcodec/hevc_mvs.c @@ -550,7 +550,7 @@ void ff_hevc_luma_mv_merge_mode(HEVCContext *s, int x0, int y0, int nPbW, { int singleMCLFlag = 0; int nCS = 1 << log2_cb_size; - LOCAL_ALIGNED(4, MvField, mergecand_list, [MRG_MAX_NUM_CANDS]); + MvField mergecand_list[MRG_MAX_NUM_CANDS]; int nPbW2 = nPbW; int nPbH2 = nPbH; HEVCLocalContext *lc = &s->HEVClc; |