FFmpeg import breaks the build on mac os X

2 Messages Forum Options Options
Embed this topic
Permalink
Clayton Otey-2
FFmpeg import breaks the build on mac os X
Reply Threaded MoreMore options
Print post
Permalink
In the latest 1.3 CVS

import/ImportFFmpeg.cpp: In member function 'virtual int FFmpegImportFileHandle::Import(TrackFactory*, Track***, int*, Tags*)':
import/ImportFFmpeg.cpp:486: error: 'INT64_C' was not declared in this scope

My workaround is to just remove FFmpeg support.  But somebody may want to get around to fixing this, or better yet, letting me know what I'm doing wrong.
Works fine on windows.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
LRN
Re: FFmpeg import breaks the build on mac os X
Reply Threaded MoreMore options
Print post
Permalink
On 09.10.2008 9:52, Clayton Otey wrote:

> In the latest 1.3 CVS
>
> import/ImportFFmpeg.cpp: In member function 'virtual int
> FFmpegImportFileHandle::Import(TrackFactory*, Track***, int*, Tags*)':
> import/ImportFFmpeg.cpp:486: error: 'INT64_C' was not declared in this
> scope
>
> My workaround is to just remove FFmpeg support.  But somebody may want
> to get around to fixing this, or better yet, letting me know what I'm
> doing wrong.
> Works fine on windows.
INT64_C is declared in "/lib-src/ffmpeg/win32/stdint.h" or in <stdint.h>
(depending on your compiler being C99-compilant or not).
stdint.h in included from FFmpeg.h, which is included in ImportFFmpeg.cpp
I can suggest you to read the beginning of the FFmpeg.h header. I don't
really understand all the fine points of cross-compiler compatibility,
but somehow it was fixed, and it shouldn't break now...in theory.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel