[Ffmpeg-devel] Re: movenc on BeOS

Måns Rullgård mru
Sun Apr 2 00:30:37 CEST 2006


Baptiste COUDURIER <baptiste.coudurier at smartjog.com> writes:

> Cian Duffy wrote:
>> On 01/04/06, Derk-Jan Hartman <d.hartman at student.utwente.nl> wrote:
>>> I just spotted this issue on our BeOS buildbot
>>>
>>> movenc.c: In function `mov_write_mdhd_tag':
>>> movenc.c:855: `INT32_MAX' undeclared (first use in this function)
>>> movenc.c:855: (Each undeclared identifier is reported only once
>>> movenc.c:855: for each function it appears in.)
>>> movenc.c: In function `mov_write_tkhd_tag':
>>> movenc.c:889: `INT32_MAX' undeclared (first use in this function)
>>> make[4]: *** [movenc.o] Error 1
>>>
>>> Looks like a missing include or something.
>>> ffmpeg-cvs of course.
>> 
>> 
>> Its not - BeOS doesn't have that define. As far as I know Francois has fixed
>> this for BeOS elsewhere in the tree by just #ifdef'ing it to INT_MAX for
>> BeOS although I don't have the tree here with me right now to grep
>> 
>> Cian
>> 
>
> Try the attached patch.

Applied and extended.  Apparently, OpenBSD is also missing these.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list