Commit a55db1fc authored by Michael Niedermayer's avatar Michael Niedermayer

dsp: fix diff_bytes_mmx() with small width

Fixes Ticket1068
Signed-off-by: 's avatarMichael Niedermayer <>
(cherry picked from commit 73089eccd3e48539555349b36d8aabbf1cea416e)
parent 123e9259
......@@ -882,6 +882,7 @@ static int vsad16_mmx2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, i
static void diff_bytes_mmx(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w){
x86_reg i=0;
__asm__ volatile(
"1: \n\t"
"movq (%2, %0), %%mm0 \n\t"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment