Browse Source

Mark data symbols shared between libraries with av_export

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Hendrik Leppkes Michael Niedermayer 12 years ago
parent
commit
953a3dcc4e
3 changed files with 7 additions and 4 deletions
  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 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);


+ 2
- 1
libavcodec/raw.h 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 */

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

Loading…
Cancel
Save