[FFmpeg-devel] [PATCH] restoring binary compatibility with ffmpeg 0.5

Reinhard Tartler siretart
Mon Jun 7 09:42:42 CEST 2010


On Mo, Jun 07, 2010 at 08:02:54 (CEST), Reimar D?ffinger wrote:

> On Mon, Jun 07, 2010 at 07:52:11AM +0200, Reinhard Tartler wrote:
>> void av_init_packet(AVPacket *pkt) av_weak_alias(av_init_packet);
>> void av_init_packet(AVPacket *pkt)
>> {
>>     av_log(NULL, AV_LOG_WARNING, "diverting av_*_packet function calls to libavcodec. Recompile to improve performance\n");
>>     av_init_packet(pkt);
>
> ff_internal_init_packet() and add one such to lavc.
> Either way, we should make sure we have a solution the next time.
> Since the @LIBAVFORMAT version is not accepted in lavc, does that
> mean no matter what we do, we will always break ABI if we move code?!

if I understand you correctly, you not only consider ABI breakages
between releases, but also between any svn revision? Then I fear yes.
However, the break is already there since quite some time, and fixing it
to have it compatible to ffmpeg 0.5 has (or at least should have)
priority, IMO.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the ffmpeg-devel mailing list