diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-25 03:11:32 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:43:08 -0300 |
commit | 56450a0ee4fdda160f4039fc2ae33edfd27765c9 (patch) | |
tree | a7566fa8dba9d38e4c748db1d1e673aee09c5244 /libavformat/rtpenc_mpegts.c | |
parent | f0c7fa2c484e197dae05fbda70a15b5e2ce81e9a (diff) | |
download | ffmpeg-56450a0ee4fdda160f4039fc2ae33edfd27765c9.tar.gz |
avformat: Constify the API wrt AV(In|Out)putFormat
Also constify AVProbeData.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rtpenc_mpegts.c')
-rw-r--r-- | libavformat/rtpenc_mpegts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c index da17b1d776..36c0979ca1 100644 --- a/libavformat/rtpenc_mpegts.c +++ b/libavformat/rtpenc_mpegts.c @@ -56,8 +56,8 @@ static int rtp_mpegts_write_header(AVFormatContext *s) { MuxChain *chain = s->priv_data; AVFormatContext *mpegts_ctx = NULL, *rtp_ctx = NULL; - ff_const59 AVOutputFormat *mpegts_format = av_guess_format("mpegts", NULL, NULL); - ff_const59 AVOutputFormat *rtp_format = av_guess_format("rtp", NULL, NULL); + const AVOutputFormat *mpegts_format = av_guess_format("mpegts", NULL, NULL); + const AVOutputFormat *rtp_format = av_guess_format("rtp", NULL, NULL); int i, ret = AVERROR(ENOMEM); AVStream *st; AVDictionary *mpegts_muxer_options = NULL; |