Hi,

On Dec 14, 2012 3:30 AM, "Janne Grunau" <[email protected]> wrote:
>
> Arguments on the stack are handled properly and functions can use more
> than arguments than the 7 registers available on x86_32.
> Fixes nasm build, yasm would fail too if it would error out on %error
> instead of just emitting a warning.
> ---
>  libavutil/x86/x86inc.asm | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
> index 60d05f4..40705e0 100644
> --- a/libavutil/x86/x86inc.asm
> +++ b/libavutil/x86/x86inc.asm
> @@ -554,7 +554,6 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
>      %endif
>      SETUP_STACK_POINTER %4
>      ASSERT regs_used <= 7
> -    ASSERT regs_used >= num_args
>      PUSH_IF_USED 3, 4, 5, 6
>      ALLOC_STACK %4
>      LOAD_IF_USED 0, 1, 2, 3, 4, 5, 6

Please submit to x264 first.

Where does this trigger? This shouldn't happen, an assert is the right
thing to do.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to