diff options
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r-- | toxav/rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index aed9523b..f48c483b 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -256,7 +256,7 @@ static bool fill_data_into_slot(const Logger *log, struct RTPWorkBufferList *wkb | |||
256 | struct RTPMessage *msg = (struct RTPMessage *)calloc(1, sizeof(struct RTPMessage) + header->data_length_full); | 256 | struct RTPMessage *msg = (struct RTPMessage *)calloc(1, sizeof(struct RTPMessage) + header->data_length_full); |
257 | 257 | ||
258 | if (msg == nullptr) { | 258 | if (msg == nullptr) { |
259 | LOGGER_ERROR(log, "Out of memory while trying to allocate for frame of size %u\n", | 259 | LOGGER_ERROR(log, "Out of memory while trying to allocate for frame of size %u", |
260 | (unsigned)header->data_length_full); | 260 | (unsigned)header->data_length_full); |
261 | // Out of memory: throw away the incoming data. | 261 | // Out of memory: throw away the incoming data. |
262 | return false; | 262 | return false; |