Skip to content

Commit 7601c21

Browse files
committed
Merge pull request opencv#10912 from alalek:fix_imgcodecs_hang
2 parents f61076a + 6e8241b commit 7601c21

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/imgcodecs/src/bitstrm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ void RBaseStream::readBlock()
105105
fseek( m_file, m_block_pos, SEEK_SET );
106106
size_t readed = fread( m_start, 1, m_block_size, m_file );
107107
m_end = m_start + readed;
108-
m_current = m_start;
109108

110109
if( readed == 0 || m_current >= m_end )
111110
CV_THROW (RBS_THROW_EOS);

0 commit comments

Comments
 (0)