Mark data symbols shared between libraries with av_export

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Hendrik Leppkes 2012-10-19 21:35:39 +02:00 committed by Michael Niedermayer
parent 33f2a49423
commit 953a3dcc4e
3 changed files with 7 additions and 4 deletions

View File

@ -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);

View File

@ -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 */

View File

@ -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 */