| Summary: | media-tv/xbmc fails to build with ffmpeg-0.6.90 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | Gentoo Xbox project <xbox> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | 4glitch, media-video |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build log | ||
|
Description
Diego Elio Pettenò (RETIRED)
2011-08-08 10:06:11 UTC
same error with media-video/libav-0.7_pre20110327 declaration of MAX_STREAMS is missing from /usr/include/libavformat/avformat.h this should be the solution to it: https://github.com/xbmc/xbmc/commit/75eaacf3caac128d8197c78485ced86241022c01 xbmc builds fine for me with media-video/ffmpeg-0.7.3 two samples from the log: ../cores/dvdplayer/Codecs/DllAvCodec.h:160:136: error: "::avcodec_decode_video" has not been declared DVDDemuxers/DVDDemuxFFmpeg.h:127:27: error: "MAX_STREAMS" was not declared in this scope from ffmpeg-0.7.3: /usr/include/libavcodec/avcodec.h: #if FF_API_VIDEO_OLD attribute_deprecated int avcodec_decode_video(AVCodecContext *avctx, AVFrame *picture, #endif /usr/include/libavformat/avformat.h: #if FF_API_MAX_STREAMS #define MAX_STREAMS 20 #endif /usr/include/libavcodec/version.h: #define LIBAVCODEC_VERSION_MAJOR 52 #define FF_API_VIDEO_OLD (LIBAVCODEC_VERSION_MAJOR < 53) #define FF_API_MAX_STREAMS (LIBAVFORMAT_VERSION_MAJOR < 53) someone will have to explain why your ffmpeg libs are not exporting the API that mine is ... |