[vlc-devel] [PATCH] Fixed a crash caused by yadif deinterlacer on Windows XP

Rémi Denis-Courmont remi at remlab.net
Mon Jan 9 09:14:13 CET 2012


On Mon, 09 Jan 2012 02:40:30 -0500, Rafaël Carré <funman at videolan.org>
wrote:
> ../../../modules/video_filter/deinterlace/yadif_template.h:245: error:
> can't find a register in class 'GENERAL_REGS' while reloading 'asm'
> ../../../modules/video_filter/deinterlace/yadif_template.h:251: error:
> can't find a register in class 'GENERAL_REGS' while reloading 'asm'
> ../../../modules/video_filter/deinterlace/yadif_template.h:245: error:
> 'asm' operand has impossible constraints
> ../../../modules/video_filter/deinterlace/yadif_template.h:251: error:
> 'asm' operand has impossible constraints

That kind of errors has happened in the past on other platforms. I am not
aware of any promise from (x86) GCC as regards availability of registers.
Thus I am not sure there is any sane way to reliably avoid these errors.
They depend on optimizations, architecture and compiler versions.

Try compiling with a different optimization level. -O0 seems to be more
prone to problems than -O2.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list