mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
avidec: Return correct error code from avi_sync() in case of IO error.
Found-by: Tanami, Ohad Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7d7e3023d9
commit
742d218bf1
@ -1001,6 +1001,8 @@ start_sync:
|
||||
}
|
||||
}
|
||||
|
||||
if(pb->error)
|
||||
return pb->error;
|
||||
return AVERROR_EOF;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user