diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h index 4e54886227..b18302744c 100644 --- a/libavcodec/x86/mathops.h +++ b/libavcodec/x86/mathops.h @@ -59,7 +59,7 @@ static av_always_inline av_const int64_t MUL64(int a, int b) __asm__ ( "imull %2" :"=A"(rt) - :"a"(a), "g"(b) + :"a"(a), "rm"(b) ); return rt; }