Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 281475 Details for
Bug 376965
media-plugins/gst-plugins-ffmpeg-0.10.11-r1 segfault when decoding wma and built with gcc-4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fixes the segfault in libav's/ffmpeg's ff_imdct_calc
libav.git-03ef9828b551fa9e91898d0f3c156d7c3fa11c92.patch (text/plain), 1.66 KB, created by
Tiziano Müller (RETIRED)
on 2011-07-29 16:42:58 UTC
(
hide
)
Description:
fixes the segfault in libav's/ffmpeg's ff_imdct_calc
Filename:
MIME Type:
Creator:
Tiziano Müller (RETIRED)
Created:
2011-07-29 16:42:58 UTC
Size:
1.66 KB
patch
obsolete
>From 03ef9828b551fa9e91898d0f3c156d7c3fa11c92 Mon Sep 17 00:00:00 2001 >From: Reinhard Tartler <siretart@tauware.de> >Date: Mon, 25 Jul 2011 09:38:48 +0200 >Subject: [PATCH] Fix ff_imdct_calc_sse() on gcc-4.6 > >Gcc 4.6 only preserves the first value when using an array with an "m" >constraint. > >Signed-off-by: Mans Rullgard <mans@mansr.com> >(cherry picked from commit 770c410fbb8e1b87ce8ad7f3d7eddaa55e2b8295) > >References: >http://bugs.debian.org/635324 > >Conflicts: > > libavcodec/x86/fft_sse.c >--- > libavcodec/x86/fft_sse.c | 7 +++---- > 1 files changed, 3 insertions(+), 4 deletions(-) > >diff --git a/libavcodec/x86/fft_sse.c b/libavcodec/x86/fft_sse.c >index a4cce69..eaca44a 100644 >--- a/gst-libs/ext/ffmpeg/libavcodec/x86/fft_sse.c >+++ b/gst-libs/ext/ffmpeg/libavcodec/x86/fft_sse.c >@@ -23,7 +23,7 @@ > #include "libavcodec/dsputil.h" > #include "fft.h" > >-DECLARE_ALIGNED(16, static const int, m1m1m1m1)[4] = >+DECLARE_ASM_CONST(16, int, ff_m1m1m1m1)[4] = > { 1 << 31, 1 << 31, 1 << 31, 1 << 31 }; > > void ff_fft_dispatch_sse(FFTComplex *z, int nbits); >@@ -183,7 +183,7 @@ void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input) > j = -n; > k = n-16; > __asm__ volatile( >- "movaps %4, %%xmm7 \n" >+ "movaps "MANGLE(ff_m1m1m1m1)", %%xmm7 \n" > "1: \n" > "movaps (%2,%1), %%xmm0 \n" > "movaps (%3,%0), %%xmm1 \n" >@@ -196,8 +196,7 @@ void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input) > "add $16, %0 \n" > "jl 1b \n" > :"+r"(j), "+r"(k) >- :"r"(output+n4), "r"(output+n4*3), >- "m"(*m1m1m1m1) >+ :"r"(output+n4), "r"(output+n4*3) > ); > } > >-- >1.7.2.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 376965
: 281475