On Fri, Jan 02, 2009 at 08:02:12PM +0000, b-vol wrote: > the ImageMagick is now upgraded to ImageMagick-6.4.8-3 (there was no > 6.4.4-1 on the ImageMagick site). Yes, they put out so many releases that they don't keep them around for long. > Compiling xine-lib-1.15 seems to bypass > the ImageMagick glitch but it now responds with:- > > > #for unpatched sources:- > > In file included from ../../../src/xine-engine/xine_internal.h:33, > from ff_audio_decoder.c:41: > ../../../include/xine.h:2230: warning: 'xine_tvsystem' is deprecated > In file included from ../../../src/input/input_plugin.h:29, > from ../../../src/xine-engine/xine_internal.h:35, > from ff_audio_decoder.c:41: > ../../../src/xine-engine/buffer.h:679: warning: return type defaults to 'int' > ff_audio_decoder.c: In function 'ff_audio_decode_data': > ff_audio_decoder.c:272: error: 'AVCodecContext' has no member > named 'bits_per_sample' > ff_audio_decoder.c:325: error: implicit declaration of > function 'avcodec_decode_audio' > ff_audio_decoder.c:325: warning: nested extern declaration > of 'avcodec_decode_audio' > ff_audio_decoder.c:330: error: 'AVCodecContext' has no member > named 'bits_per_sample' > make[3]: *** [xineplug_decode_ff_la-ff_audio_decoder.lo] Error 1 > > > ###for patched sources (the patched is:- > ff_audio_decoder.c:330: error: 'AVCodecContext' has no member > named 'bits_per_sample' (the same error, either way).
This is in the ffmpeg part of xine-lib. I can't guess which version of ffmpeg you are using. Looking at cblfs, the page tells you to use subversion to check it out - that's the problem with wikis, they aren't always up to date (there are daily snapshots, or at least there were back in October). I assume you're using an up-to-date version of ffmpeg. What you will need to do is grep the installed headers for AVCodecContext and then look for that file at http://svn.ffmpeg.org/ffmpeg/trunk/ . Seems to be defined in avcodec.h which is part of libavcodec. Hmm, i don't see any obvious mentions in the recent commits, but it seems to have gone - you'll need to look at the diffs to see what happened to it. It was there (at line 1325) in the version referenced below. Based on my experiences with xine-lib and transcode, it probably either got removed entirely, or renamed. For me, the 'old' version referenced in http://wiki.linuxfromscratch.org/blfs/ticket/2681 (at http://www.linuxfromscratch.org/~ken/packages/ffmpeg-git-20080908.tar.bz2 ) works on 32-bit, but I haven't committed it because I don't make a lot of use of ffmpeg (all those dependencies I've never found any need for). I might do so if no-one else shows any interest in it. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
