• Edward Wang's avatar
    contrib: ffmpeg: Use -mincoming-stack-boundary=4 · b6c82f0a
    Edward Wang authored
    The issue here is that android-x86 doesn't guarantee an aligned stack, which means some of the inline asm functions will waste an extra register on realigning the stack.
    libavcodec does however have stuff in place in all entrypoints that realign the stack on all calls into the library. If you build with --extra-cflags='-mincoming-stack-boundary=4', gcc assumes that the stack actually is aligned already, which the entry points ensure, so this inline asm builds fine.
    Pointed-out-by: Martin Storsjö's avatarMartin Storsjö <martin@martin.st>
    Signed-off-by: Rafaël Carré's avatarRafaël Carré <funman@videolan.org>
Last commit
Last update
src Loading commit data...
tarballs Loading commit data...
.gitignore Loading commit data...
bootstrap Loading commit data...