Version: 1.91.0 (using Devel) OS: Linux I get the following compile error for plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp and plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp [ 91%] Building CXX object plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/k3bffmpegdecoder.o In file included from /usr/include/libavutil/avutil.h:81, from /usr/include/libavcodec/avcodec.h:30, from /var/tmp/portage/app-cdr/k3b-1.91.0_rc2/work/k3b-1.91.0/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:26: /usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’: /usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared in this scope Reproducible: Always Steps to Reproduce: use FFmpeg version SVN-r23001 I get it compile clean with adding #define __STDC_CONSTANT_MACROS before includeing ffmpeg header and #undef __STDC_CONSTANT_MACROS after includeing
SVN commit 1127342 by mmalek: Fixed compilation of FFmpeg plugin. Now __STDC_CONSTANT_MACROS have to be defined. See http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-May/088074.html for further information. BUG: 236036 M +2 -0 ChangeLog M +7 -0 plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp M +28 -21 plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1127342