winlin

add comments for auto ptr message

@@ -1375,6 +1375,7 @@ int SrsSharedPtrMessage::initialize(ISrsMessage* msg, char* payload, int size) @@ -1375,6 +1375,7 @@ int SrsSharedPtrMessage::initialize(ISrsMessage* msg, char* payload, int size)
1375 ptr = new SrsSharedPtr(); 1375 ptr = new SrsSharedPtr();
1376 1376
1377 // should copy the payload once 1377 // should copy the payload once
  1378 + // TODO: maybe can directly attach the common message.
1378 ptr->payload = new char[size]; 1379 ptr->payload = new char[size];
1379 memcpy(ptr->payload, payload, size); 1380 memcpy(ptr->payload, payload, size);
1380 ptr->size = size; 1381 ptr->size = size;