Bug 2396

Summary: xbmc FTBFS with ffmpeg 0.11
Product: Fedora Reporter: Ken Dreyer <ktdreyer>
Component: kodiAssignee: Alex Lancaster <alexl>
Status: RESOLVED FIXED    
Severity: normal CC: ktdreyer
Priority: P5    
Version: 19   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Ken Dreyer 2012-07-02 03:22:28 CEST
xbmc Build error:

DllAvFormat.c:65:6: error: 'AVFormatContext' has no member named 'cur_st'
DllAvFormat.c:74:31: error: 'AVStream' has no member named 'cur_pkt'
DllAvFormat.c:80:11: error: 'AVStream' has no member named 'cur_ptr'
DllAvFormat.c:81:11: error: 'AVStream' has no member named 'cur_len'

These were removed from upstream FFmpeg in 27c7ca9c12bb42d5c44d46f24cd970469d0ef55a
Comment 1 Ken Dreyer 2012-07-09 01:26:53 CEST
A fix was recently committed upstream: https://github.com/xbmc/xbmc/commit/ac2d961354533972c4bde5e8c7defd5404754877
Comment 2 Ken Dreyer 2012-08-25 01:15:51 CEST
Fixed in xbmc-11.0-8
Comment 3 Ken Dreyer 2012-08-25 02:24:09 CEST
Reopening... that ac2d961 upstream patch did not fix my issue on Rawhide. More experimentation needed.
Comment 4 Ken Dreyer 2012-09-28 17:07:05 CEST
This solitary patch is not good enough to build against the ffmpeg in F-18.

There's been so many ffmpeg patches in master, and I don't really have
the expertise to cherry-pick the right ones onto the Eden branch.
Commit 2836f95ad looked particularly daunting - I'm guessing that they
rebased their internal copy of ffmpeg to a newer version, but I don't
know how that interacts with what we do in building against external
ffmpeg.
Comment 5 Alex Lancaster 2012-10-05 02:35:20 CEST
Now that I rebased to Frodo alpha6 in rawhide, can we close this?  (I haven't tested running the build, as I don't have an f18 or f19 machine, but I managed to build and install correctly within mock on my f16 box).
Comment 6 Ken Dreyer 2012-10-05 02:52:01 CEST
Yep, thanks. Closed.