Bug 571816 - Notify video buffering logic of WebM file reads. r=doublec

This commit is contained in:
Matthew Gregan 2010-06-16 09:56:28 +12:00
parent 2a28c408a3
commit 2a541c4870

View File

@ -84,6 +84,7 @@ static int webm_read(void *aBuffer, size_t aLength, void *aUserData)
eof = PR_TRUE;
break;
}
decoder->NotifyBytesConsumed(bytes);
aLength -= bytes;
p += bytes;
}