mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #241, use heap to alloc the socket buffer.
This commit is contained in:
parent
6cbf732e1a
commit
2fdf994350
2 changed files with 9 additions and 2 deletions
|
@ -53,6 +53,7 @@ class SrsBuffer
|
|||
{
|
||||
private:
|
||||
std::vector<char> data;
|
||||
char* buffer;
|
||||
public:
|
||||
SrsBuffer();
|
||||
virtual ~SrsBuffer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue