[FFmpeg-cvslog] hevc: Avoid using LOCAL_ALIGNED for 4 byte alignment

Martin Storsjö git at videolan.org
Wed Oct 25 01:27:48 EEST 2017


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Mar 29 13:43:40 2017 +0300| [26d9b60373bf45bc4f91ff6815f5fa36764d4d7b] | committer: Martin Storsjö

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 at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26d9b60373bf45bc4f91ff6815f5fa36764d4d7b
---

 libavcodec/hevc_mvs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list