Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2018-11-19 14:04:06 +01:00
commit e00247af87
3 changed files with 5 additions and 1 deletions

View file

@ -396,6 +396,8 @@ FLV::Tag::~Tag() {
/// This operator checks for self-assignment.
FLV::Tag & FLV::Tag::operator=(const FLV::Tag & O) {
if (this != &O) { //no self-assignment
done = true;
sofar = 0;
len = O.len;
if (len > 0) {
if (checkBufferSize()) {