Skip to content
Snippets Groups Projects
Commit c3e15f7b authored by Martin Storsjö's avatar Martin Storsjö
Browse files

rtpdec: Don't pass a non-AVClass pointer as log context


The log context is assumed to start with an AVClass pointer.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent e0d5ac6a
No related branches found
No related tags found
No related merge requests found
...@@ -785,7 +785,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, ...@@ -785,7 +785,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p,
int value_size = strlen(p) + 1; int value_size = strlen(p) + 1;
if (!(value = av_malloc(value_size))) { if (!(value = av_malloc(value_size))) {
av_log(stream, AV_LOG_ERROR, "Failed to allocate data for FMTP."); av_log(NULL, AV_LOG_ERROR, "Failed to allocate data for FMTP.");
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment