This fixes compilation with MSVC and ICL, and makes ffhash consistent with how the rest of the codebase uses read(). Reviewed-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>