2013-04-25, 17:21
(2013-04-25, 17:00)flyingrat Wrote: Anyone built osx/linux on today's master? I've just rebased and got this problem:
Code:In file included from/Users/xbmc/src/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.h:25,
from/Users/xbmc/src/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.cpp:21:
lib/DllAvFormat.h: At global scope:
lib/DllAvFormat.h:48: error: variable or field 'xbmc_read_frame_flush' declared void
lib/DllAvFormat.h:48: error: 'AVFormatContext' was not declared in this scope
lib/DllAvFormat.h:48: error: 's' was not declared in this scope
In file included from/Users/xbmc/src/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.h:25,
from/Users/xbmc/src/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.cpp:21:
lib/DllAvFormat.h: In member function 'virtual void DllAvFormat::av_read_frame_flush(AVFormatContext*)':
lib/DllAvFormat.h:119: error: '::xbmc_read_frame_flush' has not been declared
I had to fix xbmc_read_frame_flush in lib/DllAvFormat.h with:
Code:48: #else //defined USE_EXTERNAL_FFMPEG - my comment
49: #include "libavformat/internal.h" // added - ffmpeg internal definitios
50: #include "libavformat/avformat.h"
51: #define xbmc_read_frame_flush ff_read_frame_flush // added - point to actual internal func
52: #endif //defined USE_EXTERNAL_FFMPEG - my comment
53: }
Did i miss some config changes i'm not ware of?
Just finished compiling the latest XBMC HEAD and ffmpeg HEAD without any issues... Have you seen commit a7703fb746 in XBMC as this commit adds xbmc_read_frame_flush?