#34094: ffmpeg: patch required to solve undefined type/function when using C++ ------------------------------+--------------------------------------------- Reporter: liampg72@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ffmpeg ------------------------------+--------------------------------------------- Hi there, I beleive this is a common problem when using ffmpeg in a C++ program. [http://goo.gl/qZvjJ This link] provides the detail of what needs to be patched to fix the problem. To be clear, this is the error output I get from my program when I include "libavutil/common.h" {{{ /opt/local/include/libavutil/common.h: In function 'int32_t av_clipl_int32_c(int64_t)': /opt/local/include/libavutil/common.h:170:47: error: 'UINT64_C' was not declared in this scope }}} Hope this can be solved simply. Sorry that I can't submit the patch myself, I'm not to confident with Portfiles... -- Ticket URL: <https://trac.macports.org/ticket/34094> MacPorts <http://www.macports.org/> Ports system for Mac OS