aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-02 15:56:31 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-05 00:24:54 +0100
commit56cfbe3c9fcc45b95a5ef0e103721aec348e32de (patch)
tree7e65f7ae41897e3c9a226813a0d8850981a12dd9 /libavformat/mpegts.c
parent57f184221df261e041fcacc29fc1d4da196436ef (diff)
downloadffmpeg-56cfbe3c9fcc45b95a5ef0e103721aec348e32de.tar.gz
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>
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 765bedec5c..54594b3a11 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -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)
{