postproc: altivec: fix trivial cases of mixed declarations and code
authorMans Rullgard <mans@mansr.com>
Tue, 20 Dec 2011 18:31:43 +0000 (18:31 +0000)
committerMans Rullgard <mans@mansr.com>
Wed, 21 Dec 2011 00:57:45 +0000 (00:57 +0000)
commitb1bcddfb6d06535df59bd212904c725850b36ece
tree2aa33fa0b563d1439191e0fa94ad8eb74f6e119a
parent37c0dc626d2f8254ef623d987eb5077f9120755f
postproc: altivec: fix trivial cases of mixed declarations and code

This moves declarations without initialisers or with constant
initialisers to the start of a block, and adds do {} while(0)
around some macros, thus allowing declarations within them.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libpostproc/postprocess_altivec_template.c
libpostproc/postprocess_template.c