[FFmpeg-devel] [patch] Fix compilation error for C++ users
Tue May 18 18:29:37 CEST 2010
OK, if that is the reason why this patch is rejected, fair enough.
I just figured that this innocent patch would make it easier for C++ users
to use ffmpeg as well - as this is really the only thing that needs to be
changed to use ffmpeg in a C++ application (besides the extern "C" block
around the includes).
It just sucks for all of these C++ users that have always used ffmpeg
without a problem and suddenly bump into this issue (which can be quite hard
to figure out for some people).
On Tue, May 18, 2010 at 6:21 PM, Ronald S. Bultje <rsbultje at gmail.com>wrote:
> On Tue, May 18, 2010 at 12:10 PM, rdb <ffmpeg at rdb.name> wrote:
> > Hm, what is the explanation for this? Can you perhaps link me to relevant
> > discussion? From the relevant manual page (
> > http://linux.die.net/man/3/uint64_c), it seems that one does need to
> > this macro before including stdint.h; in order to get the right macro
> > definitions in C++ code.
> Right, and FFmpeg is C. So this is your responsibility.
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel