On 07/24/2012 08:40 AM, David C. Rankin wrote: > I created a patch (attached) that allows k3b to build with ffmpeg 0.11-1 to get > around the errors: > > k3bffmpegwrapper.cpp:82:84: error: 'av_open_input_file' was not declared in this > scope > k3bffmpegwrapper.cpp:131:63: error: 'dump_format' was not declared in this scope > > This patch will need to be checked. I don't think the kde4 k3b-2.2 patch is > applicable. But I do think we can use the additional scope resolution operators > it provides to get rid of some of the scope warnings. As Darrell pointed out, preprocessor checks will need to be added for those system using ffmpeg 0.10 or earlier. However, this may go back even further because av_open_input_file and dump_format have been deprecated for some time. We will need to look at ffmpeg to see when that occurred to get the checks correct. (they may not even be needed if the functions have been deprecated for many years...) Darrell, try building on ffmpeg 0.10 with the patch for k3b. I'd wager you will be fine. I'll also incorporated the kde4 scope resolution changes they made to 2.2 and see if the scope warnings are reduced. -- David C. Rankin, J.D.,P.E.