mirror of https://github.com/FFmpeg/FFmpeg.git
Previously, the returned error codes were intentionally ignored
(see fadd3a6821
), to avoid aborting if the directory already
existed. If the mkdir actually failed, this was caught when
opening files within the directory fails anyway.
By handling the error code here (but explicitly ignoring EEXIST),
the error messages and return codes in these cases are more
appropriate and less confusing.
Signed-off-by: Martin Storsjö <martin@martin.st>
pull/88/head
parent
041caf1a63
commit
803e82276b
2 changed files with 12 additions and 3 deletions
Loading…
Reference in new issue