History

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

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

Martin Storsjö committed 14 years ago

Commit c3e15f71 parent e0d5ac61 file · +1 −1Browse files

Unified · Split

libavformat/rtpdec.c+1−1
@@ -785,7 +785,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, · 784 unmodified lines
785785 int value_size = strlen(p) + 1;
786786
787787 if (!(value = av_malloc(value_size))) {
788− av_log(stream, AV_LOG_ERROR, "Failed to allocate data for FMTP.");
788+ av_log(NULL, AV_LOG_ERROR, "Failed to allocate data for FMTP.");
789789 return AVERROR(ENOMEM);
790790 }
791791

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t