[mpi_dec_utils]: Fix read ivf file err

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Id13ef0ac2a43c78b09d2e3df2a8c84e88061f7f3
This commit is contained in:
Yandong Lin
2021-11-12 17:06:53 +08:00
committed by Herman Chen
parent fed47d7f72
commit d19c408ec7

View File

@@ -116,7 +116,7 @@ static RK_U32 read_ivf_file(FileReader data)
impl->read_size = read_size;
/* check reach eos whether or not */
if (slot->size != data_size || feof(fp) || impl->read_total >= impl->file_size)
if (read_size != data_size || feof(fp) || impl->read_total >= impl->file_size)
eos = 1;
slot->buf = NULL;