Don't print out buffer since it isn't zero terminated
This commit is contained in:
parent
fd21edb7a9
commit
0bcb30b8a9
|
@ -209,7 +209,7 @@ int ZoneMinderFifoSource::getNextFrame() {
|
||||||
Debug(4, "ZM Packet %s header_size %d packet size %u pts %s %" PRId64, header, header_size, data_size, pts_ptr, pts);
|
Debug(4, "ZM Packet %s header_size %d packet size %u pts %s %" PRId64, header, header_size, data_size, pts_ptr, pts);
|
||||||
delete[] header;
|
delete[] header;
|
||||||
} else {
|
} else {
|
||||||
Debug(1, "ZM header not found in %d of buffer:%s.", m_buffer.size(), m_buffer.head());
|
Debug(1, "ZM header not found in %u of buffer.", m_buffer.size());
|
||||||
m_buffer.clear();
|
m_buffer.clear();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue