summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-19 21:35:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-20 01:56:50 +0200
commit953a3dcc4e28995072a1148e9d533e8d7b32248c (patch)
tree6f144fb870c9ab510c105e054f3b1b9fb100c453
parent33f2a4942380184f3a28cbf2a36366c8ed105232 (diff)
Mark data symbols shared between libraries with av_export
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/dnxhddata.h3
-rw-r--r--libavcodec/raw.h3
-rw-r--r--libavutil/xga_font_data.h5
3 files changed, 7 insertions, 4 deletions
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index 6ebee3d0f3..01c3f58fd9 100644
--- a/libavcodec/dnxhddata.h
+++ b/libavcodec/dnxhddata.h
@@ -24,6 +24,7 @@
#include <stdint.h>
#include "avcodec.h"
+#include "libavutil/internal.h"
typedef struct CIDEntry {
int cid;
@@ -44,7 +45,7 @@ typedef struct CIDEntry {
int bit_rates[5]; ///< Helpher to choose variants, rounded to nearest 5Mb/s
} CIDEntry;
-extern const CIDEntry ff_dnxhd_cid_table[];
+extern av_export const CIDEntry ff_dnxhd_cid_table[];
int ff_dnxhd_get_cid_table(int cid);
int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth);
diff --git a/libavcodec/raw.h b/libavcodec/raw.h
index b704b9cee8..87b6c901ca 100644
--- a/libavcodec/raw.h
+++ b/libavcodec/raw.h
@@ -28,13 +28,14 @@
#define AVCODEC_RAW_H
#include "avcodec.h"
+#include "libavutil/internal.h"
typedef struct PixelFormatTag {
enum AVPixelFormat pix_fmt;
unsigned int fourcc;
} PixelFormatTag;
-extern const PixelFormatTag ff_raw_pix_fmt_tags[];
+extern av_export const PixelFormatTag ff_raw_pix_fmt_tags[];
enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);
#endif /* AVCODEC_RAW_H */
diff --git a/libavutil/xga_font_data.h b/libavutil/xga_font_data.h
index ca5ee7979d..5e40f542e4 100644
--- a/libavutil/xga_font_data.h
+++ b/libavutil/xga_font_data.h
@@ -27,8 +27,9 @@
#define AVUTIL_XGA_FONT_DATA_H
#include <stdint.h>
+#include "internal.h"
-extern const uint8_t avpriv_cga_font[2048];
-extern const uint8_t avpriv_vga16_font[4096];
+extern av_export const uint8_t avpriv_cga_font[2048];
+extern av_export const uint8_t avpriv_vga16_font[4096];
#endif /* AVUTIL_XGA_FONT_DATA_H */