Fix Windows 64 break (#222)
Change-Id: I88bfdee9020a6abb96d6d38397263c08773501df
This commit is contained in:
parent
d007ddf20b
commit
437d48f041
|
@ -164,8 +164,8 @@ Status Demuxer::InitializeParser() {
|
|||
}
|
||||
|
||||
// Read enough bytes before detecting the container.
|
||||
size_t bytes_read = 0;
|
||||
while (bytes_read < kInitBufSize) {
|
||||
int64_t bytes_read = 0;
|
||||
while (static_cast<size_t>(bytes_read) < kInitBufSize) {
|
||||
int64_t read_result =
|
||||
media_file_->Read(buffer_.get() + bytes_read, kInitBufSize);
|
||||
if (read_result < 0)
|
||||
|
|
Loading…
Reference in New Issue