Make FLV input read until errors, instead of aborting entirely.
This commit is contained in:
parent
739c132a61
commit
552240b528
2 changed files with 5 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue