OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d5ac6
)
rtpdec: Don't pass a non-AVClass pointer as log context
author
Martin Storsjö
<martin@martin.st>
Sat, 20 Oct 2012 20:29:15 +0000
(23:29 +0300)
committer
Martin Storsjö
<martin@martin.st>
Sun, 21 Oct 2012 22:46:33 +0000
(
01:46
+0300)
The log context is assumed to start with an AVClass pointer.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec.c
b/libavformat/rtpdec.c
index
dac367d
..
9a1c497
100644
(file)
--- 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);
}