Re: [FFmpeg-devel] [PATCH] postproc: fix unaligned access

2015-06-18 Thread Andreas Cadhalpun
On 19.06.2015 01:34, Michael Niedermayer wrote: > On Fri, Jun 19, 2015 at 12:05:50AM +0200, Andreas Cadhalpun wrote: >> On 18.06.2015 22:26, Michael Niedermayer wrote: >>> On Thu, Jun 18, 2015 at 08:29:06PM +0200, Andreas Cadhalpun wrote: QP_store is only 8-bit-aligned, so accessing it as uint

Re: [FFmpeg-devel] [PATCH] postproc: fix unaligned access

2015-06-18 Thread Michael Niedermayer
On Fri, Jun 19, 2015 at 12:05:50AM +0200, Andreas Cadhalpun wrote: > On 18.06.2015 22:26, Michael Niedermayer wrote: > > On Thu, Jun 18, 2015 at 08:29:06PM +0200, Andreas Cadhalpun wrote: > >> QP_store is only 8-bit-aligned, so accessing it as uint32_t causes > >> SIGILL crashes on sparc. > >> > >>

Re: [FFmpeg-devel] [PATCH] postproc: fix unaligned access

2015-06-18 Thread Andreas Cadhalpun
On 18.06.2015 22:26, Michael Niedermayer wrote: > On Thu, Jun 18, 2015 at 08:29:06PM +0200, Andreas Cadhalpun wrote: >> QP_store is only 8-bit-aligned, so accessing it as uint32_t causes >> SIGILL crashes on sparc. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libpostproc/postprocess.c | 5 +--

Re: [FFmpeg-devel] [PATCH] postproc: fix unaligned access

2015-06-18 Thread Michael Niedermayer
On Thu, Jun 18, 2015 at 08:29:06PM +0200, Andreas Cadhalpun wrote: > QP_store is only 8-bit-aligned, so accessing it as uint32_t causes > SIGILL crashes on sparc. > > Signed-off-by: Andreas Cadhalpun > --- > libpostproc/postprocess.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) >