diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-12-04 17:47:41 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-12-17 10:22:41 +0100 |
commit | 230646751d88e90a62a3b4a099d2f6e0e639be10 (patch) | |
tree | 688bc82003af23535daefc4fbb7dcb1fc7ee07e9 /libavformat/rtp.c | |
parent | 3c9778d342e6709407e3906d680ebab3a3ecd754 (diff) | |
download | ffmpeg-230646751d88e90a62a3b4a099d2f6e0e639be10.tar.gz |
lavf/sdp: add const qualifiers where appropriate
Declares that these structs are read-only for this code.
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r-- | libavformat/rtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 38e234391b..c536a6f082 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -87,8 +87,8 @@ int ff_rtp_get_codec_info(AVCodecParameters *par, int payload_type) return -1; } -int ff_rtp_get_payload_type(AVFormatContext *fmt, - AVCodecParameters *par, int idx) +int ff_rtp_get_payload_type(const AVFormatContext *fmt, + const AVCodecParameters *par, int idx) { int i; const AVOutputFormat *ofmt = fmt ? fmt->oformat : NULL; |