[FFmpeg-cvslog] Mark data symbols shared between libraries with av_export

Hendrik Leppkes git at videolan.org
Sat Oct 20 02:02:44 CEST 2012


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Fri Oct 19 21:35:39 2012 +0200| [953a3dcc4e28995072a1148e9d533e8d7b32248c] | committer: Michael Niedermayer

Mark data symbols shared between libraries with av_export

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=953a3dcc4e28995072a1148e9d533e8d7b32248c
---

 libavcodec/dnxhddata.h    |    3 ++-
 libavcodec/raw.h          |    3 ++-
 libavutil/xga_font_data.h |    5 +++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index 6ebee3d..01c3f58 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 b704b9c..87b6c90 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 ca5ee79..5e40f54 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 */



More information about the ffmpeg-cvslog mailing list