This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
tools/ffhash: close file handle on error
Fixes CID1026768 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
de488525e5
commit
c1075d6af7
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
tools/ffhash.c
+ 1
- 0
tools/ffhash.c
View File
@@ -89,6 +89,7 @@ static int check(char *file)
for (;;) {
ssize_t size = read(fd, buffer, SIZE);
if (size < 0) {
close(fd);
finish();
printf("+READ-FAILED: %s", strerror(errno));
ret = 2;
Write
Preview
Loading…
Cancel
Save