[FFmpeg-devel] patch for x32 for libpostproc

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Sep 3 19:52:51 CEST 2014

On Tue, Sep 02, 2014 at 10:06:10PM +0000, Thorsten Glaser wrote:
> Hi,
> as discussed in IRC, I was trying to minimal-invasively port
> libpostproc (the Debian source package) to x32¹. I could not
> test it (for lack of a stand-alone test program) yet, but at
> least I got it to build.
> As requested, the patch I used is attached. It’s not optimal
> as the arch could use the wider registers, but probably good
> enough, should it do what it’s supposed to ;-)

Wouldn't it make more sense to define ARCH_X86_64, at least in addition?
For the CPU after that is exactly what is being executed.
Fixing up the (hopefully few) places where we assume pointer size
should be easier than this approach?

More information about the ffmpeg-devel mailing list