cos_tablegen: Don't use lrint
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 15 Jan 2013 21:09:00 +0000 (16:09 -0500)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 15 Oct 2013 16:00:28 +0000 (17:00 +0100)
commit479a52795526a5ad6628e37d9614dee5e32dc773
treec3e601c843671888f1ad4b9b2820ced73032f34a
parentbc31a7a3b6bcd7409e4440d7d8124006813fe15a
cos_tablegen: Don't use lrint

You cannot count on it being present on all systems, and you
cannot include libm.h in a host tool, so just hard code a baseline
implementation.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/cos_tablegen.c