[MPlayer-dev-eng] [PATCH] Fix build failure in sub/font_load.c

Lauri Kasanen cand at gmx.com
Sat Feb 13 14:56:01 CET 2016


Hi,

The latest trunk, r37696, fails to build:

sub/font_load.c: In function 'load_raw':
sub/font_load.c:48:34: error: 'uint64_t' undeclared (first use in this
function) if (raw->w > INT_MAX / 4 || (uint64_t)raw->w * raw->h >
INT_MAX / 4)

I added #include <stdint.h> to that file to fix it. Patch attached.

- Lauri
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stdint.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20160213/f121fbc1/attachment.ksh>


More information about the MPlayer-dev-eng mailing list