ffmpeg/libavcodec
Mikulas Patocka 074155360d avcodec/x86/hpeldsp: fix crash on AMD K6-3+
There are instructions pavgb and pavgusb. Both instructions do the same
operation but they have different enconding. Pavgb exists in SSE (or
MMXEXT) instruction set and pavgusb exists in 3D-NOW instruction set.

livavcodec uses the macro PAVGB to select the proper instruction. However,
the function avg_pixels8_xy2 doesn't use this macro, it uses pavgb
directly.

As a consequence, the function avg_pixels8_xy2 crashes on AMD K6-2 and
K6-3 processors, because they have pavgusb, but not pavgb.

This bug seems to be introduced by commit
71155d7b4157fee44c0d3d0fc1b660ebfb9ccf46, "dsputil: x86: Convert mpeg4
qpel and dsputil avg to yasm"

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-03 19:49:11 +01:00
..
2013-10-23 14:32:04 +02:00
2013-10-30 11:04:06 +00:00
2013-10-28 08:33:21 -04:00
2013-05-10 16:10:51 -03:00
2013-10-30 11:04:06 +00:00
2013-10-03 23:00:09 +02:00
2013-09-04 16:37:25 +02:00
2013-08-13 15:45:08 +02:00
2013-08-13 15:45:08 +02:00
2013-10-30 23:56:52 +01:00
2013-10-31 20:19:59 +01:00
2013-09-25 16:30:25 +02:00
2013-10-15 17:00:28 +01:00
2013-04-25 14:21:00 +00:00
2013-10-06 20:12:37 +00:00
2013-10-08 12:40:33 +00:00
2013-08-13 15:45:08 +02:00
2013-10-15 23:58:20 +02:00
2013-10-18 16:46:08 +02:00
2013-04-20 00:05:35 +02:00
2013-10-15 22:13:02 +02:00
2013-10-13 21:48:28 +02:00
2013-10-28 23:54:28 +01:00
2013-11-03 01:00:16 +01:00
2013-08-07 21:13:12 +02:00
2013-08-12 19:40:29 +02:00
2013-10-30 12:41:43 +00:00
2013-09-21 16:59:13 +02:00
2013-08-26 19:26:01 +00:00
2013-07-28 22:27:36 +00:00
2013-08-09 23:02:48 +02:00
2013-10-28 23:54:28 +01:00
2013-09-21 16:59:13 +02:00
2013-07-10 12:07:53 +00:00
2013-07-10 12:07:53 +00:00
2013-07-10 12:07:53 +00:00
2013-10-22 19:55:47 +02:00
2013-05-28 13:56:29 +03:00
2013-10-27 13:34:35 +01:00
2013-04-15 12:32:05 +03:00
2013-10-02 21:03:11 -04:00
2013-10-30 11:04:06 +00:00