[Ffmpeg-devel] [PATCH] Remove INT64_C from "common.h"

Alexander Chemeris ipse.ffmpeg
Mon Mar 5 00:21:13 CET 2007


Hello,

On 3/4/07, Stas Oskin <stas.oskin at gmail.com> wrote:
> After the INT64 was removed from the common.h I have the following
> compilation errors?
> "'INT64_C' was not declared in this scope"
>
> The error origins from static inline void av_init_packet() function at
> file avformat.h.
>
> I guess it's because avformat.h misses inclusion of stdint.h?
>
> I tried to include stdint.h directly in my app, but it didn't help.

Try adding

#define __STDC_CONSTANT_MACROS

before first inclusion of <stdint.h> or first inclusion of ffmpeg headers.
This macro should be defined when using <stdint.h> with C++ compiler.

-- 
Regards,
Alexander Chemeris.

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000




More information about the ffmpeg-devel mailing list