diff options
author | Martin Storsjö <martin@martin.st> | 2017-08-24 22:07:04 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-08-31 14:22:06 +0300 |
commit | abf1c058d1bd0ed1b820ea5e501a4484756f00b0 (patch) | |
tree | f2fad10a28333210b238629315577204491576d5 /libavcodec/mpegaudiodata.h | |
parent | e41daa62465036ad36ad0bd14e4936e848d7f07e (diff) | |
download | ffmpeg-abf1c058d1bd0ed1b820ea5e501a4484756f00b0.tar.gz |
msvc: Properly specify dllexport for data symbols shared across dll boundaries
We currently only have exported data symbols within libavcodec, but
the concept is easy to extend to other libraries if necessary.
The attribute declaration needs to be in a private header though,
since we can't use CONFIG_SHARED in public installed headers.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegaudiodata.h')
-rw-r--r-- | libavcodec/mpegaudiodata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegaudiodata.h b/libavcodec/mpegaudiodata.h index 2b8ff6587f..1609f48e43 100644 --- a/libavcodec/mpegaudiodata.h +++ b/libavcodec/mpegaudiodata.h @@ -29,13 +29,13 @@ #include <stdint.h> -#include "libavutil/internal.h" +#include "internal.h" #define MODE_EXT_MS_STEREO 2 #define MODE_EXT_I_STEREO 1 -extern av_export const uint16_t avpriv_mpa_bitrate_tab[2][3][15]; -extern av_export const uint16_t avpriv_mpa_freq_tab[3]; +extern av_export_avcodec const uint16_t avpriv_mpa_bitrate_tab[2][3][15]; +extern av_export_avcodec const uint16_t avpriv_mpa_freq_tab[3]; extern const int ff_mpa_sblimit_table[5]; extern const int ff_mpa_quant_steps[17]; extern const int ff_mpa_quant_bits[17]; |