summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg4audio.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/mpeg4audio.h
parente41daa62465036ad36ad0bd14e4936e848d7f07e (diff)
downloadffmpeg-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/mpeg4audio.h')
-rw-r--r--libavcodec/mpeg4audio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpeg4audio.h b/libavcodec/mpeg4audio.h
index 01f30c6ca7..0a0905888a 100644
--- a/libavcodec/mpeg4audio.h
+++ b/libavcodec/mpeg4audio.h
@@ -27,6 +27,7 @@
#include "libavutil/attributes.h"
#include "get_bits.h"
+#include "internal.h"
#include "put_bits.h"
typedef struct MPEG4AudioConfig {
@@ -44,7 +45,7 @@ typedef struct MPEG4AudioConfig {
int frame_length_short;
} MPEG4AudioConfig;
-extern av_export const int avpriv_mpeg4audio_sample_rates[16];
+extern av_export_avcodec const int avpriv_mpeg4audio_sample_rates[16];
extern const uint8_t ff_mpeg4audio_channels[8];
/**