[FFmpeg-trac] #3133(undetermined:new): Incompatibilities beween ffmpeg 2.0.2 and 2.1 exposed via XBMC
FFmpeg
trac at avcodec.org
Mon Nov 18 14:51:55 CET 2013
#3133: Incompatibilities beween ffmpeg 2.0.2 and 2.1 exposed via XBMC
-------------------------------------+-------------------------------------
Reporter: EricV | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: 2.1 | undetermined
Keywords: regression | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by michael):
Ive build FernetMenta/master against FFmpeg 2.1 and it seems working fine.
I needed
{{{
diff --git a/lib/DllAvCodec.h b/lib/DllAvCodec.h
index c54f542..866f996 100644
--- a/lib/DllAvCodec.h
+++ b/lib/DllAvCodec.h
@@ -114,7 +115,7 @@ public:
CSingleLock lock(DllAvCodec::m_critSection);
return ::avcodec_open2(avctx, codec, options);
}
- virtual int avcodec_open2_dont_call(AVCodecContext *avctx, AVCodec
*codec, AVDictionary **options) { *(volatile int *)0x0 = 0; return 0; }
+ virtual int avcodec_open2_dont_call(AVCodecContext *avctx, const
AVCodec *codec, AVDictionary **options) { *(volatile int *)0x0 = 0; return
0; }
virtual int avcodec_close_dont_call(AVCodecContext *avctx) { *(volatile
int *)0x0 = 0; return 0; }
virtual AVCodec *avcodec_find_decoder(enum AVCodecID id) { return
::avcodec_find_decoder(id); }
virtual AVCodec *avcodec_find_encoder(enum AVCodecID id) { return
::avcodec_find_encoder(id); }
}}}
also for reasons i dont know yet i had to remove the ubuntu libav
libraries as they kept being linked in instead of the more recent ffmpeg
ones from /usr/local and caused linking failures. Note though this might
be a configuration issue on my box, and unrelated.
So I dont seem to be able to reproduce a problem when xbmc is build and
run against ffmpeg 2.1
havnt yet looked at what happens when its build against 2.0 and linked to
2,1 libs
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3133#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list