vp56: Don't use DECLARE_ALIGN on a typedef name
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Mon, 27 Aug 2012 02:09:10 +0000 (22:09 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Aug 2012 13:04:16 +0000 (15:04 +0200)
commit61e262f6d7b86172d56b8363dfc105f70261d233
tree71a1fd43be49711c3c384ca0ab0af64387ed9e60
parent4f92d31aa4b152cb191b8ee373ba04177848651a
vp56: Don't use DECLARE_ALIGN on a typedef name

Instead, use it on the first member, since by definition, if
any member is aligned, the whole struct must be, in order to
maintain that alignment.

Fixes compilation with some finicky compilers, like a mix of libclang/msvc

Idea for fix from Måns Rullgård.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vp56.h