Mercurial > libavcodec.hg
changeset 10100:47cc5a20fac0 libavcodec
Remove useless alignment from MpegEncContext.intra_scantable
The first member of struct ScanTable is a simple pointer, extra alignment
of which serves no purpose. The alignment specifier was added along with
some Altivec optimisations also adding a 16-byte-aligned array at the end
of struct ScanTable. Presumably the redundant, outer alignment was added
by mistake. The inner one is clearly sufficient.
author | mru |
---|---|
date | Wed, 26 Aug 2009 23:07:07 +0000 |
parents | 27eef2ead6ab |
children | 254f8c7d5e4d |
files | mpegvideo.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.h Wed Aug 26 22:10:35 2009 +0000 +++ b/mpegvideo.h Wed Aug 26 23:07:07 2009 +0000 @@ -436,7 +436,7 @@ uint16_t (*q_inter_matrix16)[2][64]; int block_last_index[12]; ///< last non zero coefficient in block /* scantables */ - DECLARE_ALIGNED_8(ScanTable, intra_scantable); + ScanTable intra_scantable; ScanTable intra_h_scantable; ScanTable intra_v_scantable; ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage