summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_mpegts.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-20 18:38:48 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-20 18:38:48 +0100
commit9461e4bc694b8d95d4224226b9781f8166d969b1 (patch)
tree0afbbbdc360ff96343978dd63f615b146b7d5c65 /libavformat/rtpenc_mpegts.c
parent4602456c4f18d111131d4d6a1d0a150474c74d58 (diff)
lavf: Constify AVOutputFormat pointer.
Diffstat (limited to 'libavformat/rtpenc_mpegts.c')
-rw-r--r--libavformat/rtpenc_mpegts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c
index 5f81e1a145..969dbff3d6 100644
--- a/libavformat/rtpenc_mpegts.c
+++ b/libavformat/rtpenc_mpegts.c
@@ -48,8 +48,8 @@ static int rtp_mpegts_write_header(AVFormatContext *s)
{
struct MuxChain *chain = s->priv_data;
AVFormatContext *mpegts_ctx = NULL, *rtp_ctx = NULL;
- AVOutputFormat *mpegts_format = av_guess_format("mpegts", NULL, NULL);
- AVOutputFormat *rtp_format = av_guess_format("rtp", NULL, NULL);
+ ff_const59 AVOutputFormat *mpegts_format = av_guess_format("mpegts", NULL, NULL);
+ ff_const59 AVOutputFormat *rtp_format = av_guess_format("rtp", NULL, NULL);
int i, ret = AVERROR(ENOMEM);
AVStream *st;