ffmpeg and mmap

Kostik Belousov kostikbel at gmail.com
Fri Dec 17 18:04:56 UTC 2010


On Fri, Dec 17, 2010 at 07:01:06PM +0200, Andriy Gapon wrote:
> The above check should also be fixed for the case when mmap is used.
> mmap returns MAP_FAILED in case of failure and on FreeBSD MAP_FAILED != NULL.
> Not sure about Linux, but we probably don't care - if only to report to upstream
> to make their code cleaner.
NULL is the valid return value from mmap() for FreeBSD address map
both on i386 and amd64.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20101217/5804109a/attachment.pgp


More information about the freebsd-multimedia mailing list