diff --git a/libavcodec/x86/h264_weight.asm b/libavcodec/x86/h264_weight.asm index 916f5850c192cdb72112f725be49ca1840522ca0..6e89ab3bc776ab548d80810d4165635a8cf40f95 100644 --- a/libavcodec/x86/h264_weight.asm +++ b/libavcodec/x86/h264_weight.asm @@ -95,7 +95,7 @@ WEIGHT_FUNC_DBL_MM 16 WEIGHT_FUNC_DBL_MM 8 %macro WEIGHT_FUNC_MM 4 -cglobal h264_weight_%1x%2_%4, 7, 7, % +cglobal h264_weight_%1x%2_%4, 7, 7, %3 WEIGHT_SETUP mov r2, %2 %if %2 == 16