mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +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:
@@ -48,7 +48,7 @@ static av_cold void dv_free_context(PayloadContext *data)
|
||||
static av_cold int dv_sdp_parse_fmtp_config(AVFormatContext *s,
|
||||
AVStream *stream,
|
||||
PayloadContext *dv_data,
|
||||
char *attr, char *value)
|
||||
const char *attr, const char *value)
|
||||
{
|
||||
/* does the DV stream include audio? */
|
||||
if (!strcmp(attr, "audio") && !strcmp(value, "bundled"))
|
||||
|
||||
Reference in New Issue
Block a user