You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
rtpdec: Don't pass non-const pointers to fmtp attribute parsing functions
This makes it clear that the individual parsing functions can't touch the parsed out value. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -295,7 +295,7 @@ parse_packed_headers(const uint8_t * packed_headers,
|
||||
static int xiph_parse_fmtp_pair(AVFormatContext *s,
|
||||
AVStream* stream,
|
||||
PayloadContext *xiph_data,
|
||||
char *attr, char *value)
|
||||
const char *attr, const char *value)
|
||||
{
|
||||
AVCodecContext *codec = stream->codec;
|
||||
int result = 0;
|
||||
|
||||
Reference in New Issue
Block a user