• Andreas Rheinhardt's avatar
    avcodec/dca: Unavpriv dca_sample_rates · 3afb4165
    Andreas Rheinhardt authored
    Said table is 64 bytes long and exported so that it can be used both
    in libavcodec and libavformat. This commit stops doing so and instead
    duplicates it for shared builds, because the overhead of exporting the
    symbol is bigger than 64 bytes. It consists of the length of the name of
    the symbol (2x24 bytes), two entries in .dynsym (2x24 bytes), two
    entries for symbol version (2x2 bytes), one hash value in the exporting
    library (4 bytes) in addition to one entry in the importing library's
    .got and .rela.dyn (8 + 24 bytes).
    (The above numbers are for a Linux/GNU/Elf system; the numbers for other
    platforms may be different.)
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
    3afb4165
dca.h 8.63 KB