mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user