summaryrefslogtreecommitdiff
path: root/libavformat/rtp.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/rtp.c
parent4602456c4f18d111131d4d6a1d0a150474c74d58 (diff)
lavf: Constify AVOutputFormat pointer.
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r--libavformat/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index 4745e54bb0..38e234391b 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -91,7 +91,7 @@ int ff_rtp_get_payload_type(AVFormatContext *fmt,
AVCodecParameters *par, int idx)
{
int i;
- AVOutputFormat *ofmt = fmt ? fmt->oformat : NULL;
+ const AVOutputFormat *ofmt = fmt ? fmt->oformat : NULL;
/* Was the payload type already specified for the RTP muxer? */
if (ofmt && ofmt->priv_class && fmt->priv_data) {