Revision: 20563
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20563
Author:   schlaile
Date:     2009-06-01 19:23:35 +0200 (Mon, 01 Jun 2009)

Log Message:
-----------
== FFMPEG ==

Previous commit as seperate diff: work around AC3 crash with SSE2

Added Paths:
-----------
    trunk/blender/extern/ffmpeg/patches/ffmpeg_work_around_ac3_sse2_crash.patch

Added: 
trunk/blender/extern/ffmpeg/patches/ffmpeg_work_around_ac3_sse2_crash.patch
===================================================================
--- trunk/blender/extern/ffmpeg/patches/ffmpeg_work_around_ac3_sse2_crash.patch 
                        (rev 0)
+++ trunk/blender/extern/ffmpeg/patches/ffmpeg_work_around_ac3_sse2_crash.patch 
2009-06-01 17:23:35 UTC (rev 20563)
@@ -0,0 +1,18 @@
+Index: libavcodec/x86/dsputil_mmx.c
+===================================================================
+--- libavcodec/x86/dsputil_mmx.c       (revision 20545)
++++ libavcodec/x86/dsputil_mmx.c       (working copy)
+@@ -3000,7 +3000,12 @@
+         if(mm_flags & FF_MM_SSE2){
+             c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_sse2;
+             c->float_to_int16 = float_to_int16_sse2;
+-            c->float_to_int16_interleave = float_to_int16_interleave_sse2;
++          /*  
++              Blender quick fix: segfaults with AC3-files. Please remove,
++              if you find out why. Probably alignment issue? (Peter Schlaile)
++
++              c->float_to_int16_interleave = float_to_int16_interleave_sse2; 
++          */
+             c->add_int16 = add_int16_sse2;
+             c->sub_int16 = sub_int16_sse2;
+             c->scalarproduct_int16 = scalarproduct_int16_sse2;


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to