aboutsummaryrefslogtreecommitdiff
path: root/fileformats/mp4/parser/src/editatom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fileformats/mp4/parser/src/editatom.cpp')
-rw-r--r--fileformats/mp4/parser/src/editatom.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/fileformats/mp4/parser/src/editatom.cpp b/fileformats/mp4/parser/src/editatom.cpp
index 90bfe6c43..9001a8ca8 100644
--- a/fileformats/mp4/parser/src/editatom.cpp
+++ b/fileformats/mp4/parser/src/editatom.cpp
@@ -61,9 +61,10 @@ EditAtom::EditAtom(MP4_FF_FILE *fp, uint32 size, uint32 type)
}
else
{
- _success = false;
- _mp4ErrorCode = READ_UNKNOWN_ATOM;
- break;
+ dataLength -= atomSize;
+ atomSize -= DEFAULT_ATOM_SIZE;
+ AtomUtils::seekFromCurrPos(fp, atomSize);
+
}
}