diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-20 23:29:15 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-22 01:46:33 +0300 |
commit | c3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4 (patch) | |
tree | 9652253b1bb5df08b84e9131bc61bb9fdb651cd1 /libavformat | |
parent | e0d5ac6ae3a83e6718a6731e391e168da187bce0 (diff) | |
download | ffmpeg-c3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4.tar.gz |
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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index dac367dd86..9a1c4972ca 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -785,7 +785,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, int value_size = strlen(p) + 1; 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); } |