mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1207909
- p2: Fixed a warning (uninitialized 'err') and typo - r=jya
This commit is contained in:
parent
fbef5c401c
commit
361c3a8592
@ -478,14 +478,14 @@ status_t MPEG4Extractor::readMetaData() {
|
||||
}
|
||||
|
||||
off64_t offset = 0;
|
||||
status_t err;
|
||||
status_t err = NO_INIT;
|
||||
while (!mFirstTrack) {
|
||||
err = parseChunk(&offset, 0);
|
||||
// The parseChunk function returns UNKNOWN_ERROR to skip
|
||||
// some boxes we don't want to handle. Filter that error
|
||||
// code but return others so e.g. I/O errors propagate.
|
||||
if (err != OK && err != (status_t) UNKNOWN_ERROR) {
|
||||
ALOGW("Error %d parsing chuck at offset %lld looking for first track",
|
||||
ALOGW("Error %d parsing chunck at offset %lld looking for first track",
|
||||
err, (long long)offset);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user