mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
608be2acef
commit
21c6a0258c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user