[Libav-user] how do I solve "libavcodec/x86/h264_i386.h:101:5: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'"?

손남례 nrson at win4net.com
Thu Jun 14 11:05:27 CEST 2012


Hello,

I have a referenced in (http://ffmpeg.org/pipermail/ffmpeg-devel/2012-
April/123815.html)  because I want to speed up in H.264 decoder.

However I have an errors during compiling as following:

 

$ make

CC      libavcodec/h264_cabac.o

libavcodec/h264_cabac.c: In function 'decode_cabac_residual_nondc_internal':

libavcodec/x86/h264_i386.h:101:5: error: can't find a register in class
'GENERAL_REGS' while reloading 'asm'

libavcodec/x86/h264_i386.h:101:5: error: 'asm' operand has impossible
constraints

libavcodec/x86/cabac.h:115:5: error: 'asm' operand has impossible
constraints

libavcodec/x86/cabac.h:115:5: error: 'asm' operand has impossible
constraints

libavcodec/x86/cabac.h:115:5: error: 'asm' operand has impossible
constraints

libavcodec/x86/cabac.h:115:5: error: 'asm' operand has impossible
constraints

make: *** [libavcodec/h264_cabac.o] Error 1

 

Also my configure for compiling is as following:

$ ./configure --enable-gpl --enable-shared --enable-swscale --enable-
hwaccel=h264_dxva2 

--enable-decoder=h264 --enable-w32threads --enable-memalign-hack --enable-
yasm --disable-libvorbis --enable-cross-compile

--target-os=mingw32 --arch=x86 --disable-filters --disable-encoders

 

how do I solve the problems?

best regards in advances,

-nrson-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120614/ffd5654c/attachment.html>


More information about the Libav-user mailing list