Revision 40d0e665 libavcodec/i386/dsputil_h264_template_mmx.c

View differences:

libavcodec/i386/dsputil_h264_template_mmx.c
249 249
        "sub $2, %2                 \n\t"
250 250
        "jnz 1b                     \n\t"
251 251
        : "+r"(dst), "+r"(src), "+r"(h)
252
        : "r"((long)stride), "m"(ff_pw_32), "m"(x), "m"(y)
252
        : "r"((x86_reg)stride), "m"(ff_pw_32), "m"(x), "m"(y)
253 253
    );
254 254
}
255 255

  
......
300 300
        "sub $1, %2\n\t"
301 301
        "jnz 1b\n\t"
302 302
        : "+r" (dst), "+r"(src), "+r"(h)
303
        : "m" (ff_pw_32), "r"((long)stride)
303
        : "m" (ff_pw_32), "r"((x86_reg)stride)
304 304
        : "%esi");
305 305

  
306 306
}

Also available in: Unified diff