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

Michael Niedermayer michaelni
Mon Jun 7 12:52:14 CEST 2010

On Mon, Jun 07, 2010 at 09:42:42AM +0200, Reinhard Tartler wrote:
> 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? 

i do

> 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.

for future moves, is there a problem with moving the symbols and
updating the version script in the new home so it matches the version
of the old (@LIBAVFORMAT in lavc for the specific symbols)

for our case here this fails because we have libs that expect the symbols
with @LIBAVCODEC and ldso isnt smart enough but that wouldnt be if we had
updated the version script when the move happened.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100607/4e677466/attachment.pgp>

More information about the ffmpeg-devel mailing list