зеркало из https://github.com/mozilla/pjs.git
Bug 565322 deadcode in nsOggReader::FindEndTime if !codecState
r=cpearce --HG-- extra : rebase_source : d386c3e6d9524a86a7c4fe420c756e9352a48330
This commit is contained in:
Родитель
15cf63f6c5
Коммит
fa5099361d
|
@ -904,10 +904,11 @@ PRInt64 nsOggReader::FindEndTime(PRInt64 aEndOffset)
|
|||
// This page is from a bitstream which we haven't encountered yet.
|
||||
// It's probably from a new "link" in a "chained" ogg. Don't
|
||||
// bother even trying to find a duration...
|
||||
endTime = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
PRInt64 t = codecState ? codecState->Time(granulepos) : -1;
|
||||
PRInt64 t = codecState->Time(granulepos);
|
||||
if (t != -1) {
|
||||
endTime = t;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче