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.h | |
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.h')
-rw-r--r-- | libavformat/rtp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h index 389b824223..0c0e6089d7 100644 --- a/libavformat/rtp.h +++ b/libavformat/rtp.h @@ -38,8 +38,8 @@ * @param idx The stream index * @return The payload type (the 'PT' field in the RTP header). */ -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); /** * Initialize a codec context based on the payload type. |