Commit 2599a62f authored by Alex Smith's avatar Alex Smith Committed by Michael Niedermayer

ffhash: Change size to an int

This fixes compilation with MSVC and ICL, and makes ffhash consistent
with how the rest of the codebase uses read().
Reviewed-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4fdf2fa9
...@@ -87,7 +87,7 @@ static int check(char *file) ...@@ -87,7 +87,7 @@ static int check(char *file)
av_hash_init(hash); av_hash_init(hash);
for (;;) { for (;;) {
ssize_t size = read(fd, buffer, SIZE); int size = read(fd, buffer, SIZE);
if (size < 0) { if (size < 0) {
close(fd); close(fd);
finish(); finish();
......
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