Fixes bad error checking on read errors.
Don't use "p_block->i_buffer = read(...)", i_buffer is unsigned so you won't catch read errors and will end up crashing using a 4GB buffer instead. This fixes a DVB segv I was seeing.
Showing
Please register or sign in to comment