http://bugzilla.rpmfusion.org/show_bug.cgi?id=1030
--- Comment #118 from rc040203(a)freenet.de 2010-03-03 04:20:08 ---
Created an attachment (id=380)
--> (
http://bugzilla.rpmfusion.org/attachment.cgi?id=380)
hack to work around ffmpeg sws_scale() incompatibility
This is a brutal hack to work around xbmc failing to build against rpmfusion's
ffmpeg for F13.
Background: An API change in libswscale:
ffmpeg (/usr/include/ffmpeg/libswscale/swscale.h
in rpmfusion for F13 uses
int sws_scale(struct SwsContext *context, const uint8_t* srcSlice[], int
srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
while sws_scale in ffmpeg for FC12 uses:
int sws_scale(struct SwsContext *context, uint8_t* srcSlice[], int srcStride[],
int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
This API change breaks C++ code using libswscale.
This patch is more a minimally invasive hack to work around this incompatiblity
but a real fix, which likely would be to revamp xbmc's API to ffmpeg.
--
Configure bugmail:
http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.