Просмотр исходного кода

Mark data symbols shared between libraries with av_export

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Hendrik Leppkes 12 лет назад
Родитель
Сommit
953a3dcc4e
3 измененных файлов с 7 добавлено и 4 удалено
  1. 2 1
      libavcodec/dnxhddata.h
  2. 2 1
      libavcodec/raw.h
  3. 3 2
      libavutil/xga_font_data.h

+ 2 - 1
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);

+ 2 - 1
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 */

+ 3 - 2
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 */