LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xine lib 1.1.15 make problems (https://www.linuxquestions.org/questions/linux-software-2/xine-lib-1-1-15-make-problems-684270/)

bloodyscript 11-18-2008 04:05 AM

xine lib 1.1.15 make problems
 
hi im useing sabayon linux 3.4 mini edition, i managed to download and configure xine-lib-1.1.15 but when i enter make i get one error at the end:

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
make[3]: Leaving directory `/home/hraesvelg/programs/xine-lib-1.1.15/src/combined/ffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hraesvelg/programs/xine-lib-1.1.15/src/combined'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hraesvelg/programs/xine-lib-1.1.15/src'
make: *** [all-recursive] Error 1

does any one have nay ideas as to why this is happening and how to fix it

mfranz 11-18-2008 09:46 AM

Re: xine lib 1.1.15 make problems
 
Is this with a current external ffmpeg library? With that I had a similar problem, and fixed it like so:

Code:

$ FFMPEG_LIBS="-L/usr/local/lib -lavcodec -lavformat -lavutil" ./autogen.sh --with-external-ffmpeg
... using your ffmpeg library path, which is /usr/local/lib here.


All times are GMT -5. The time now is 06:56 AM.