Commit f7b081e5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

File: (try to) give up reading on I/O error

Whether this works depends on the stream and demux behaviour. There may
be a better way to fix this.
parent 60cc18a0
......@@ -229,6 +229,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
msg_Err (p_access, "read failed (%m)");
intf_UserFatal (p_access, false, _("File reading failed"),
_("VLC could not read the file."));
p_access->info.b_eof = true;
return 0;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment