Browse code

Mark data symbols shared between libraries with av_export

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Hendrik Leppkes authored on 2012/10/20 04:35:39
Showing 3 changed files
... ...
@@ -24,6 +24,7 @@
24 24
 
25 25
 #include <stdint.h>
26 26
 #include "avcodec.h"
27
+#include "libavutil/internal.h"
27 28
 
28 29
 typedef struct CIDEntry {
29 30
     int cid;
... ...
@@ -44,7 +45,7 @@ typedef struct CIDEntry {
44 44
     int bit_rates[5]; ///< Helpher to choose variants, rounded to nearest 5Mb/s
45 45
 } CIDEntry;
46 46
 
47
-extern const CIDEntry ff_dnxhd_cid_table[];
47
+extern av_export const CIDEntry ff_dnxhd_cid_table[];
48 48
 
49 49
 int ff_dnxhd_get_cid_table(int cid);
50 50
 int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth);
... ...
@@ -28,13 +28,14 @@
28 28
 #define AVCODEC_RAW_H
29 29
 
30 30
 #include "avcodec.h"
31
+#include "libavutil/internal.h"
31 32
 
32 33
 typedef struct PixelFormatTag {
33 34
     enum AVPixelFormat pix_fmt;
34 35
     unsigned int fourcc;
35 36
 } PixelFormatTag;
36 37
 
37
-extern const PixelFormatTag ff_raw_pix_fmt_tags[];
38
+extern av_export const PixelFormatTag ff_raw_pix_fmt_tags[];
38 39
 enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);
39 40
 
40 41
 #endif /* AVCODEC_RAW_H */
... ...
@@ -27,8 +27,9 @@
27 27
 #define AVUTIL_XGA_FONT_DATA_H
28 28
 
29 29
 #include <stdint.h>
30
+#include "internal.h"
30 31
 
31
-extern const uint8_t avpriv_cga_font[2048];
32
-extern const uint8_t avpriv_vga16_font[4096];
32
+extern av_export const uint8_t avpriv_cga_font[2048];
33
+extern av_export const uint8_t avpriv_vga16_font[4096];
33 34
 
34 35
 #endif /* AVUTIL_XGA_FONT_DATA_H */