margro / xbmc

XBMC PVR Repository for the development of the MediaPortal and ForTheRecord pvr addons
http://www.scintilla.utwente.nl/~marcelg/xbmc/
Other
32 stars 14 forks source link

Openelec build issue #40

Closed piotrasd closed 9 years ago

piotrasd commented 10 years ago

Hi I try build openelec with your FRODO build but i get issue

In file included from /home/xbmc/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/xbmc-12.2.0/lib/DllAvFormat.h:27:0, from DVDDemuxFFmpeg.h:24, from DVDDemuxFFmpeg.cpp:31: /home/xbmc/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/xbmc-12.2.0/lib/DllAvCodec.h: In member function 'virtual int DllAvCodec::avcodec_encodeaudio(AVCodecContext, uint8t, int, const short int_)': /home/xbmc/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/xbmc-12.2.0/lib/DllAvCodec.h:144:120: warning: 'int avcodec_encodeaudio(AVCodecContext, uint8t, int, const short int_)' is deprecated (declared at /home/xbmc/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:4404) [-Wdeprecated-declarations] /home/xbmc/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/xbmc-12.2.0/lib/DllAvCodec.h:144:170: warning: 'int avcodec_encodeaudio(AVCodecContext, uint8t, int, const short int_)' is deprecated (declared at /home/xbmc/OpenELEC.tv/build.OpenELEC-ION.x86_64-devel/toolchain/x8664-openelec-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:4404) [-Wdeprecated-declarations] DVDDemuxFFmpeg.cpp: In member function 'virtual DemuxPacket CDVDDemuxFFmpeg::Read()': DVDDemuxFFmpeg.cpp:773:27: error: 'class DllAvUtil' has no member named 'av_dict_free' DVDDemuxFFmpeg.cpp: In member function 'bool CDVDDemuxFFmpeg::IsActiveStream(int)': DVDDemuxFFmpeg.cpp:1456:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] DVDDemuxFFmpeg.cpp: In member function 'bool CDVDDemuxFFmpeg::IsProgramChange()': DVDDemuxFFmpeg.cpp:1477:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] make[2]: *\ [DVDDemuxFFmpeg.o] Error 1

any idea how this fix ? (im used you latest frodo build)

margro commented 10 years ago

Yeah I forgot to add the missing "av_dict_free" function to the DllAvCodec class for external ffmpeg library builds. It is hopefully fixed with: 87087153a5135569e273b4a357b93d1b3ecc632f

piotrasd commented 10 years ago

Tkanka i will test today :)

Wysłane z iPhone'a

Dnia 2 Jan 2014 o godz. 13:33 Marcel Groothuis notifications@github.com napisał(a):

Yeah I forgot to add the missing "av_dict_free" function to the DllAvCodec class for external ffmpeg library builds. It is hopefully fixed with: 8708715

— Reply to this email directly or view it on GitHub.