[mythtv] [mythtv-commits] Ticket #6535: Soundtouch crashes in sse_gcc.cpp due to unaligned variable
Janne Grunau
janne-mythtv at grunau.be
Mon May 11 11:48:33 UTC 2009
On Mon, May 11, 2009 at 01:25:21AM -0000, MythTV wrote:
> #6535: Soundtouch crashes in sse_gcc.cpp due to unaligned variable
> ----------------------------------------+-----------------------------------
> Reporter: Jeff Lu <jll544 at yahoo.com> | Owner: ijr
> Type: patch | Status: infoneeded_new
> Priority: minor | Milestone: unknown
> Component: MythTV - General | Version: head
> Severity: medium | Resolution:
> Mlocked: 0 |
> ----------------------------------------+-----------------------------------
> Changes (by danielk):
>
> * status: new => infoneeded_new
>
>
> Comment:
>
> Jeff, a global is no good. Please create a larger variable on the stack
> yourself and align a pointer into it and call it out. Something like "int
> x[16+4]; int *out=((&x+15)&~0xf);" but of course tested. Also a comment
> should reference the gcc bug report # for the fix, or at least the version
> it was fixed in.
if making soundtouch dependent on libavutil is an option we could just
us av_malloc which will return aligned memory.
Janne
More information about the mythtv-dev
mailing list