You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/mpegenc, mpegts. mxfenc: Mark (de)muxers declarations as internal
Otherwise compilers might emit code that presumes there to be a GOT which can't be fixed by the linker. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/attributes_internal.h"
|
||||
#include "libavutil/fifo.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/mathematics.h"
|
||||
@@ -88,10 +89,10 @@ typedef struct MpegMuxContext {
|
||||
int preload;
|
||||
} MpegMuxContext;
|
||||
|
||||
extern const FFOutputFormat ff_mpeg1vcd_muxer;
|
||||
extern const FFOutputFormat ff_mpeg2dvd_muxer;
|
||||
extern const FFOutputFormat ff_mpeg2svcd_muxer;
|
||||
extern const FFOutputFormat ff_mpeg2vob_muxer;
|
||||
EXTERN const FFOutputFormat ff_mpeg1vcd_muxer;
|
||||
EXTERN const FFOutputFormat ff_mpeg2dvd_muxer;
|
||||
EXTERN const FFOutputFormat ff_mpeg2svcd_muxer;
|
||||
EXTERN const FFOutputFormat ff_mpeg2vob_muxer;
|
||||
|
||||
static int put_pack_header(AVFormatContext *ctx, uint8_t *buf,
|
||||
int64_t timestamp)
|
||||
|
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "config_components.h"
|
||||
|
||||
#include "libavutil/attributes_internal.h"
|
||||
#include "libavutil/buffer.h"
|
||||
#include "libavutil/crc.h"
|
||||
#include "libavutil/internal.h"
|
||||
@@ -274,7 +275,7 @@ typedef struct PESContext {
|
||||
int merged_st;
|
||||
} PESContext;
|
||||
|
||||
extern const FFInputFormat ff_mpegts_demuxer;
|
||||
EXTERN const FFInputFormat ff_mpegts_demuxer;
|
||||
|
||||
static struct Program * get_program(MpegTSContext *ts, unsigned int programid)
|
||||
{
|
||||
|
@@ -40,6 +40,7 @@
|
||||
#include <inttypes.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "libavutil/attributes_internal.h"
|
||||
#include "libavutil/mem.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavutil/random_seed.h"
|
||||
@@ -66,8 +67,8 @@
|
||||
#include "config.h"
|
||||
#include "version.h"
|
||||
|
||||
extern const FFOutputFormat ff_mxf_d10_muxer;
|
||||
extern const FFOutputFormat ff_mxf_opatom_muxer;
|
||||
EXTERN const FFOutputFormat ff_mxf_d10_muxer;
|
||||
EXTERN const FFOutputFormat ff_mxf_opatom_muxer;
|
||||
|
||||
#define IS_D10(s) ((s)->oformat == &ff_mxf_d10_muxer.p)
|
||||
#define IS_OPATOM(s) ((s)->oformat == &ff_mxf_opatom_muxer.p)
|
||||
|
Reference in New Issue
Block a user