[FFmpeg-devel] [gcc-trunk] swscale_template.c:1358:1: error: bp cannot be used in asm here

Ramiro Polla ramiro.polla
Mon Sep 7 06:16:04 CEST 2009

On Mon, Sep 7, 2009 at 12:28 AM, t66667 at gmail.com<t66667 at gmail.com> wrote:
> In file included from libswscale/swscale.c:1407:0:
> libswscale/swscale_template.c: In function 'yuv2packed2_MMX2':
> libswscale/swscale_template.c:1358:1: error: bp cannot be used in asm here
> make[1]: *** [libswscale/swscale.o] Error 1

Hmm, this is a horrible bug report but luckily for you I have just
stumbled upon the same thing.

Reproducible with
./configure --disable-optimizations --enable-gpl && cd libswscale; make
in x86_64
It happens due to the block in lines 1228:1240 in swscale_template.c in r29652.

I'm going to look through the history now and see if I can find out
why it happens...

Ramiro Polla

More information about the ffmpeg-devel mailing list