mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01:00
lavf/sdp: add const qualifiers where appropriate
Declares that these structs are read-only for this code.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user