[FFmpeg-devel] [PATCH] ra144enc: fix use of scalarprod_int16

Michael Niedermayer michaelni at gmx.at
Wed Mar 5 14:31:53 CET 2014


On Wed, Mar 05, 2014 at 01:06:31PM +0100, Christophe Gisquet wrote:
> Fix for #3429, which affected MMX/MMXExt machines, introduced by
> c3390fd56cf55259ea7665ecea6c8aeddf56e2fc.
> 
> -- 
> Christophe

>  ra144enc.c |    1 +
>  1 file changed, 1 insertion(+)
> 8114bb18e0c0f33daf602a734a4b1085fb57d5ec  0001-ra144enc-fix-use-of-scalarprod_int16.patch
> From 7bd21a292e3cd21722708eb6af176e6f66e7ee21 Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Wed, 5 Mar 2014 13:00:23 +0100
> Subject: [PATCH] ra144enc: fix use of scalarprod_int16
> 
> c3390fd56cf55259ea7665ecea6c8aeddf56e2fc made use of the DSP function
> but did not complement it with a call to emms, which is done here before
> computations involving floats are performed.
> 
> Fixes ticket #3429, which affected MMX/MMXExt machines.

applied

also made the emms more conditional, though iam not totally happy
about my solution its kind of ugly ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140305/614e8980/attachment.asc>


More information about the ffmpeg-devel mailing list