hevc: Avoid using LOCAL_ALIGNED for 4 byte alignment
authorMartin Storsjö <martin@martin.st>
Wed, 29 Mar 2017 10:43:40 +0000 (13:43 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 31 Mar 2017 19:06:47 +0000 (22:06 +0300)
The data types within the MvField struct themselves imply 4 byte alignment.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/hevc_mvs.c

index be32e6c..27df7c1 100644 (file)
@@ -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;