mirror of
https://github.com/opencv/opencv.git
synced 2025-01-23 10:03:11 +08:00
Merge pull request #10912 from alalek:fix_imgcodecs_hang
This commit is contained in:
commit
7601c21612
@ -105,7 +105,6 @@ void RBaseStream::readBlock()
|
||||
fseek( m_file, m_block_pos, SEEK_SET );
|
||||
size_t readed = fread( m_start, 1, m_block_size, m_file );
|
||||
m_end = m_start + readed;
|
||||
m_current = m_start;
|
||||
|
||||
if( readed == 0 || m_current >= m_end )
|
||||
CV_THROW (RBS_THROW_EOS);
|
||||
|
Loading…
Reference in New Issue
Block a user