mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01: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:
@@ -25,7 +25,7 @@
|
||||
|
||||
static int ilbc_parse_fmtp(AVFormatContext *s,
|
||||
AVStream *stream, PayloadContext *data,
|
||||
char *attr, char *value)
|
||||
const char *attr, const char *value)
|
||||
{
|
||||
if (!strcmp(attr, "mode")) {
|
||||
int mode = atoi(value);
|
||||
|
||||
Reference in New Issue
Block a user