[FFmpeg-cvslog] rtpdec: Don't pass a non-AVClass pointer as log context
Martin Storsjö
git at videolan.org
Mon Oct 22 14:49:53 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Oct 20 23:29:15 2012 +0300| [c3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4] | committer: Martin Storsjö
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 at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4
---
libavformat/rtpdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index dac367d..9a1c497 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);
}
More information about the ffmpeg-cvslog
mailing list