Crash entering quicktime test site
This commit is contained in:
cbiesinger%web.de 2002-12-13 14:11:16 +00:00
Родитель f412ee9cc2
Коммит ebafc7fb04
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -447,6 +447,10 @@ nsresult nsICODecoder::ProcessData(const char* aBuffer, PRUint32 aCount) {
PRUint32 toCopy; PRUint32 toCopy;
do { do {
if (mCurLine == 0) {
return NS_OK;
}
toCopy = rowSize - mRowBytes; toCopy = rowSize - mRowBytes;
if (toCopy) { if (toCopy) {
if (toCopy > aCount) if (toCopy > aCount)
@ -470,10 +474,6 @@ nsresult nsICODecoder::ProcessData(const char* aBuffer, PRUint32 aCount) {
p++; p++;
} }
if (mCurLine == 0) {
return NS_OK;
}
mRowBytes = 0; mRowBytes = 0;
} }
} while (aCount > 0); } while (aCount > 0);