summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-26 23:07:07 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-26 23:07:07 +0000
commit21c6a0258c32d3967cb66638dad5c892a645ab0c (patch)
treedb60e4b09b75e961bcc10684a4a8cebf6fe3dfae
parent608be2acef3b69070f66dd539edd2197f93d6daf (diff)
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. Originally committed as revision 19724 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 181a9cdea6..9b19841a11 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -436,7 +436,7 @@ typedef struct MpegEncContext {
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