[FFmpeg-devel] [PATCH] fix add_bytes_mmx and add_bytes_l2_mmx for w <= 15

Michael Niedermayer michaelni
Sun Jun 22 03:16:14 CEST 2008


On Sat, Jun 21, 2008 at 08:40:02PM +0200, Reimar D?ffinger wrote:
> Hello,
> as noticeable when decoding small png images, these two functions do not
> work correctly and cause a segfault.
> Attached is one possible solution, I think another would be to change
> the jb to js and jmp to the comparison before the first loop.

Iam ok with the solutiom that is faster and if they are the same speed the
one that is smaller

Besides the cmp is unneeded and can be removed

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

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080622/28cd50e4/attachment.pgp>



More information about the ffmpeg-devel mailing list