[Ffmpeg-devel] swscale and 64 bit problem (mmx code)

Michael Niedermayer michaelni
Thu Mar 1 14:15:49 CET 2007


Hi

On Thu, Mar 01, 2007 at 01:17:10PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Thu, Mar 01, 2007 at 01:18:12PM +0000, Giancarlo Formicuccia wrote:
> > libswscale seems to be unsafe on 64 bit platforms. The problem is 
> > the 32-bit chrMmxFilter array of SwsContext, because it stores
> > pointers to allocated memory (lumMmxFilter has probably the same
> > issue).
> [...]
> > Fixing the code is not trivial, due to the many hardcoded values in the asm code...
> > Ideas?
> 
> Well, the non-SWS_ACCURATE_RND case is trivial to fix I think, see attached
> patch.

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070301/29794655/attachment.pgp>



More information about the ffmpeg-devel mailing list