summaryrefslogtreecommitdiff
path: root/libavcodec/ac3tab.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-08-24 22:07:04 +0300
committerMartin Storsjö <martin@martin.st>2017-08-31 14:22:06 +0300
commitabf1c058d1bd0ed1b820ea5e501a4484756f00b0 (patch)
treef2fad10a28333210b238629315577204491576d5 /libavcodec/ac3tab.h
parente41daa62465036ad36ad0bd14e4936e848d7f07e (diff)
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/ac3tab.h')
-rw-r--r--libavcodec/ac3tab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3tab.h b/libavcodec/ac3tab.h
index 83edec52d1..4c0122c39d 100644
--- a/libavcodec/ac3tab.h
+++ b/libavcodec/ac3tab.h
@@ -26,6 +26,7 @@
#include "libavutil/internal.h"
#include "ac3.h"
+#include "internal.h"
#if CONFIG_HARDCODED_TABLES
# define HCONST const
@@ -35,7 +36,7 @@
extern const uint16_t ff_ac3_frame_size_tab[38][3];
extern const uint8_t ff_ac3_channels_tab[8];
-extern av_export const uint16_t avpriv_ac3_channel_layout_tab[8];
+extern av_export_avcodec const uint16_t avpriv_ac3_channel_layout_tab[8];
extern const uint8_t ff_ac3_enc_channel_map[8][2][6];
extern const uint8_t ff_ac3_dec_channel_map[8][2][6];
extern const uint16_t ff_ac3_sample_rate_tab[3];