Commit 953a3dcc authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

Mark data symbols shared between libraries with av_export

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 33f2a494
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <stdint.h> #include <stdint.h>
#include "avcodec.h" #include "avcodec.h"
#include "libavutil/internal.h"
typedef struct CIDEntry { typedef struct CIDEntry {
int cid; int cid;
...@@ -44,7 +45,7 @@ typedef struct CIDEntry { ...@@ -44,7 +45,7 @@ typedef struct CIDEntry {
int bit_rates[5]; ///< Helpher to choose variants, rounded to nearest 5Mb/s int bit_rates[5]; ///< Helpher to choose variants, rounded to nearest 5Mb/s
} CIDEntry; } 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_get_cid_table(int cid);
int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth); int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth);
......
...@@ -28,13 +28,14 @@ ...@@ -28,13 +28,14 @@
#define AVCODEC_RAW_H #define AVCODEC_RAW_H
#include "avcodec.h" #include "avcodec.h"
#include "libavutil/internal.h"
typedef struct PixelFormatTag { typedef struct PixelFormatTag {
enum AVPixelFormat pix_fmt; enum AVPixelFormat pix_fmt;
unsigned int fourcc; unsigned int fourcc;
} PixelFormatTag; } 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); enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);
#endif /* AVCODEC_RAW_H */ #endif /* AVCODEC_RAW_H */
...@@ -27,8 +27,9 @@ ...@@ -27,8 +27,9 @@
#define AVUTIL_XGA_FONT_DATA_H #define AVUTIL_XGA_FONT_DATA_H
#include <stdint.h> #include <stdint.h>
#include "internal.h"
extern const uint8_t avpriv_cga_font[2048]; extern av_export const uint8_t avpriv_cga_font[2048];
extern const uint8_t avpriv_vga16_font[4096]; extern av_export const uint8_t avpriv_vga16_font[4096];
#endif /* AVUTIL_XGA_FONT_DATA_H */ #endif /* AVUTIL_XGA_FONT_DATA_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment