[libav-devel] [PATCH 1/2] libavformat: Check mkdir return error codes
lu_zero at gentoo.org
Sat Sep 6 02:50:22 CEST 2014
On 05/09/14 21:58, Martin Storsjö wrote:
> Previously, the returned error codes were intentionally ignored
> (see fadd3a68213), 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.
> libavformat/hdsenc.c | 5 ++++-
> libavformat/smoothstreamingenc.c | 10 ++++++++--
> 2 files changed, 12 insertions(+), 3 deletions(-)
More information about the libav-devel