[FFmpeg-devel] [PATCH] Use av_clip_uint8 in swscale.

Måns Rullgård mans
Tue Aug 18 03:22:08 CEST 2009


Jason Garrett-Glaser <darkshikari at gmail.com> writes:

> 2009/8/17 M?ns Rullg?rd <mans at mansr.com>:
>> Jason Garrett-Glaser <darkshikari at gmail.com> writes:
>>
>>>> But not on x86-64 or most other modern CPUs.
>>>
>>> Yes you can. ?It's only prohibited in shared libraries.
>>
>> Assuming you can arrange for the address to fit in 32 bits, yes.
>> There are no 64-bit immediate address operands IIRC.
>
> Which is generally not a problem, since the ffmpeg binary still fits
> in 4 gigabytes ;)

Fitting in 4G doesn't guarantee it will be loaded at a virtual address
lower than 4G.

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



More information about the ffmpeg-devel mailing list