postproc: fix unaligned access
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 18 Jun 2015 18:15:12 +0000 (20:15 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 18 Jun 2015 23:47:59 +0000 (01:47 +0200)
commit590743101dc934043f34013f1c9bb9fb261355b0
tree6d618289cb17ed9a24e0e6ad235097904bf41144
parentd216b9debd9843d31732ebb7344a85b3cd96b7cc
postproc: fix unaligned access

QP_store is only 8-bit-aligned, so accessing it as uint32_t causes
SIGBUS crashes on sparc.
The AV_RN32/AV_WN32 macros only do unaligned access in the
HAVE_FAST_UNALIGNED case.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libpostproc/postprocess.c