[FFmpeg-devel] MP_WORDSIZE usage in libavcodec/h264.c

Måns Rullgård mans
Fri Dec 7 11:24:20 CET 2007


Diego Biurrun wrote:
> libavcodec/h264.c:112 looks like this:
>
> #if defined(ARCH_X86_64) || (defined(MP_WORDSIZE) && MP_WORDSIZE >= 64)
>
> However, we never define MP_WORDSIZE, MPlayer does.  So should we remove
> that part, define MP_WORDSIZE ourselves, ignore the issue?

There is a different check for 64-bit words in simple_idct.c, IIRC, and
there may be others.  We should change all of them to use one consistently
named symbol that we set in configure.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list