vlc/vlc-3.0 | branch: master | Janboe Ye <[email protected]> | Sat Feb 22 04:04:18 2020 +0800| [53349bfb86670ad4b5fc891c2727620b0f3664bb] | committer: Thomas Guillem
dsm: add missing I/O error handling Signed-off-by: Janboe Ye <[email protected]> (cherry picked from commit f2ce6f335eb87dc949c00fd23dd343e793f18ac9) Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=53349bfb86670ad4b5fc891c2727620b0f3664bb --- modules/access/dsm/access.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c index 69f61b9860..795872092e 100644 --- a/modules/access/dsm/access.c +++ b/modules/access/dsm/access.c @@ -523,6 +523,8 @@ static ssize_t Read( stream_t *p_access, void *p_buffer, size_t i_len ) if( i_read < 0 ) { msg_Err( p_access, "read failed" ); + if (errno != EINTR && errno != EAGAIN) + return 0; return -1; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
