[FFmpeg-devel] [FFmpeg-cvslog] avutil/cuda_check: avoid pointlessly exporting same symbol from two libraries

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Feb 15 01:22:11 EET 2019

2019-02-15 0:13 GMT+01:00, Hendrik Leppkes <h.leppkes at gmail.com>:
> On Thu, Feb 14, 2019 at 11:36 PM Carl Eugen Hoyos <ceffmpeg at gmail.com>
> wrote:
>> >>> No, this entire mess with duplicated ff_ symbols is specifically to
>> >>> avoid having to include it in the ABI.
>> >>
>> >> But old libavcodec does not work with new libavutil now or am I wrong?
>> >
>> > Is that really a thing we expect or advertise to work? It does not seem
>> > sane and I'd expect a lot of other things to explode.
>> We don't "advertise" it but it is certainly expected from any half-sane
>> project.
> Its not a problem in any "normal" case. No ff_ symbols are exported,
> so dynamic linking would never use it.
> What might not work in the future is mixing static libraries of
> different versions, but anyone that does something like that is truely
> insane anyway.

That may be reasonable.

Thank you, Carl Eugen

More information about the ffmpeg-devel mailing list