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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Feb 14 20:59:46 EET 2019


2019-02-14 18:21 GMT+01:00, Hendrik Leppkes <h.leppkes at gmail.com>:
> On Thu, Feb 14, 2019 at 4:51 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>>
>>
>>
>> > Am 14.02.2019 um 13:39 schrieb Timo Rothenpieler <git at videolan.org>:
>> >
>> > ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> |
>> > Fri Feb  8 22:47:01 2019 +0100|
>> > [15c6390139096b7e7634bf0f6aaab1cd8b3aa509] | committer: Timo
>> > Rothenpieler
>> >
>> > avutil/cuda_check: avoid pointlessly exporting same symbol from two
>> > libraries
>> >
>> >> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15c6390139096b7e7634bf0f6aaab1cd8b3aa509
>> > ---
>> >
>> > libavcodec/Makefile     |  6 +++---
>> > libavcodec/cuda_check.c |  1 -
>> > libavutil/Makefile      |  2 +-
>>
>> > libavutil/cuda_check.c  | 45
>> > ---------------------------------------------
>>
>> Apart from breaking compilation doesn’t this also break ABI?
>>
>
> 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?

In any case, shouldn't the function have another name if it is static now?

Carl Eugen


More information about the ffmpeg-devel mailing list