Martin Storsjö
803e82276b
libavformat: Check mkdir return error codes
...
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.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-09-07 23:20:29 +03:00
..
2014-05-18 10:19:35 +02:00
2014-08-14 01:22:47 -07:00
2014-07-29 17:47:32 +02:00
2013-05-04 21:43:06 +02:00
2014-08-21 04:25:48 -07:00
2014-07-09 13:37:18 +00:00
2013-11-23 21:55:52 +01:00
2014-08-22 13:23:50 +02:00
2014-06-18 15:03:31 +02:00
2013-09-12 10:53:25 +03:00
2014-03-11 13:13:41 +01:00
2013-05-28 18:19:03 +02:00
2013-09-19 19:37:46 +02:00
2013-09-19 19:37:59 +02:00
2014-03-11 13:13:41 +01:00
2014-05-01 09:26:20 +02:00
2014-03-02 13:23:13 +01:00
2013-09-16 22:17:33 +03:00
2014-06-18 15:03:31 +02:00
2014-07-17 03:18:46 -07:00
2014-08-25 05:17:54 +00:00
2014-04-02 12:11:31 +02:00
2014-06-18 15:12:34 +02:00
2014-04-17 20:08:19 +02:00
2014-08-15 05:34:13 -07:00
2014-02-17 15:36:09 +01:00
2014-04-17 20:08:19 +02:00
2014-05-16 14:41:02 +02:00
2014-08-15 03:18:18 -07:00
2013-09-29 19:59:32 +03:00
2014-03-11 13:13:41 +01:00
2013-10-06 19:36:53 +02:00
2014-08-19 06:22:07 -07:00
2013-05-04 21:43:06 +02:00
2014-07-10 12:38:54 -07:00
2013-09-26 23:13:53 +03:00
2014-03-11 13:13:41 +01:00
2014-07-03 10:46:11 -07:00
2014-07-03 10:46:11 -07:00
2014-03-11 13:13:41 +01:00
2013-09-11 20:18:55 +03:00
2013-05-04 21:43:06 +02:00
2014-08-28 12:33:26 -04:00
2014-07-09 13:35:07 +00:00
2014-07-09 13:35:07 +00:00
2014-03-11 13:13:41 +01:00
2014-08-22 11:15:20 +00:00
2013-08-10 00:53:33 +03:00
2013-08-07 21:22:03 +02:00
2014-06-18 15:12:34 +02:00
2013-10-12 15:30:39 +02:00
2013-10-12 15:30:39 +02:00
2014-08-13 16:25:19 +00:00
2014-06-01 08:32:33 +02:00
2014-06-01 08:32:33 +02:00
2014-06-01 08:32:33 +02:00
2014-08-13 16:23:28 +00:00
2014-06-17 21:38:21 +02:00
2014-08-15 05:34:13 -07:00
2014-03-11 13:13:41 +01:00
2014-06-18 15:12:34 +02:00
2013-05-05 18:33:04 +02:00
2013-09-16 22:17:33 +03:00
2014-03-11 13:13:41 +01:00
2013-09-16 22:17:33 +03:00
2013-05-04 21:43:06 +02:00
2013-05-04 21:43:06 +02:00
2013-09-20 21:08:02 +02:00
2014-09-07 23:20:29 +03:00
2014-03-10 18:02:55 +01:00
2014-03-10 18:02:36 +01:00
2013-10-31 20:20:24 +01:00
2013-11-22 14:27:10 +02:00
2014-05-17 01:34:16 +03:00
2013-07-29 20:15:50 +03:00
2014-03-11 13:13:41 +01:00
2014-08-15 05:34:13 -07:00
2014-07-22 16:38:26 +02:00
2014-08-04 12:56:42 +03:00
2013-05-03 10:21:27 +02:00
2014-07-03 18:40:37 +00:00
2013-05-04 21:43:06 +02:00
2013-09-19 11:09:04 +03:00
2014-03-11 13:13:41 +01:00
2013-09-16 22:17:33 +03:00
2014-04-01 01:13:09 +02:00
2013-05-04 21:43:06 +02:00
2014-03-26 23:25:02 +01:00
2014-08-13 17:41:11 +00:00
2014-04-19 16:24:26 +02:00
2014-08-19 06:22:07 -07:00
2013-09-16 22:17:33 +03:00
2014-02-12 20:12:18 +01:00
2014-06-18 15:03:31 +02:00
2014-07-06 17:49:02 +03:00
2014-03-11 13:13:41 +01:00
2013-05-04 21:43:06 +02:00
2014-09-03 02:39:24 +02:00
2014-08-28 12:33:26 -04:00
2014-08-28 12:33:26 -04:00
2014-08-28 12:33:26 -04:00
2014-08-28 12:35:27 -04:00
2013-05-04 21:43:06 +02:00
2013-05-14 17:14:38 +02:00
2013-12-26 06:07:35 +01:00
2013-12-26 06:07:35 +01:00
2014-08-19 06:22:07 -07:00
2014-09-04 07:11:03 -07:00
2014-08-06 13:27:17 -07:00
2013-09-22 21:02:52 +03:00
2014-04-17 20:08:19 +02:00
2014-06-22 20:31:58 -04:00
2013-09-12 10:54:27 +03:00
2014-03-24 02:22:15 +01:00
2014-08-26 03:43:13 +02:00
2014-08-27 06:21:54 +00:00
2014-09-03 02:38:03 +02:00
2014-08-05 11:30:50 +02:00
2014-08-13 12:43:26 -07:00
2013-05-04 21:43:06 +02:00
2014-06-18 15:03:31 +02:00
2014-07-09 13:38:26 +00:00
2014-07-17 03:18:46 -07:00
2014-04-19 16:24:27 +02:00
2014-03-11 13:13:41 +01:00
2014-08-17 16:11:16 +02:00
2014-08-17 16:11:02 +02:00
2014-08-17 16:11:16 +02:00
2014-06-18 15:12:34 +02:00
2013-08-02 19:19:02 +02:00
2013-08-09 11:26:50 +03:00
2014-08-25 10:49:14 +03:00
2013-06-16 14:41:00 +02:00
2014-08-15 03:18:18 -07:00
2014-03-16 23:29:51 +01:00
2014-05-28 22:04:56 +02:00
2014-08-13 16:23:36 +00:00
2014-06-18 15:03:55 +02:00
2013-10-12 15:25:18 +02:00
2014-08-13 16:25:19 +00:00
2014-08-23 02:42:18 +02:00
2014-08-13 16:25:19 +00:00
2014-08-13 16:25:19 +00:00
2014-08-13 16:25:19 +00:00
2014-08-13 16:25:19 +00:00
2014-05-01 09:26:02 +02:00
2014-08-13 16:25:19 +00:00
2014-08-13 16:25:19 +00:00
2014-08-13 16:25:19 +00:00
2013-09-29 21:52:57 +02:00
2013-09-29 21:52:57 +02:00
2014-03-11 13:13:41 +01:00
2014-06-18 15:03:31 +02:00
2014-08-25 05:17:54 +00:00
2014-02-04 11:17:06 +01:00
2013-11-02 13:57:03 +01:00
2014-08-26 06:34:41 -07:00
2014-03-27 23:34:47 +01:00
2014-02-10 07:41:21 +01:00
2014-01-03 16:40:22 +01:00
2013-08-02 19:19:02 +02:00
2013-05-04 21:43:06 +02:00
2013-09-19 22:47:26 +03:00
2014-05-03 18:51:17 +02:00
2014-02-09 14:15:44 +00:00
2014-05-24 07:51:12 +02:00
2013-10-28 15:29:49 +01:00
2014-04-17 20:08:19 +02:00
2014-04-17 20:08:19 +02:00
2014-04-23 19:57:44 +02:00
2014-06-18 15:03:55 +02:00
2013-09-29 19:58:18 +03:00
2014-06-18 15:12:34 +02:00
2013-11-23 21:55:52 +01:00
2014-06-22 18:43:11 +02:00
2014-06-18 15:12:34 +02:00
2014-03-11 13:13:41 +01:00
2014-06-18 15:03:31 +02:00
2013-06-01 13:38:50 +02:00
2013-11-18 12:36:32 +02:00
2014-06-01 23:30:33 +03:00
2014-06-01 23:30:33 +03:00
2014-08-15 05:34:13 -07:00
2013-07-31 21:12:34 +03:00
2014-07-09 13:40:54 +00:00
2014-01-23 17:37:10 +02:00
2014-09-03 02:39:24 +02:00
2013-05-05 18:33:04 +02:00
2013-05-05 18:33:04 +02:00
2013-05-05 18:33:04 +02:00
2014-07-09 13:40:54 +00:00
2014-09-03 02:39:24 +02:00
2014-07-09 13:40:54 +00:00
2014-07-09 13:40:54 +00:00
2014-07-09 13:40:54 +00:00
2013-05-05 18:33:04 +02:00
2013-05-05 18:33:04 +02:00
2013-09-26 23:14:03 +03:00
2014-07-09 13:40:54 +00:00
2014-09-03 02:39:24 +02:00
2014-07-09 13:40:54 +00:00
2014-05-31 12:02:23 +03:00
2014-06-28 01:51:14 -04:00
2014-08-15 03:18:18 -07:00
2013-11-01 09:57:02 +02:00
2013-08-15 15:35:41 +03:00
2013-07-31 21:12:34 +03:00
2014-06-18 22:03:40 +02:00
2013-11-01 09:57:06 +02:00
2014-08-15 03:18:18 -07:00
2014-08-15 03:18:18 -07:00
2014-05-31 12:02:23 +03:00
2014-08-25 10:49:14 +03:00
2014-08-15 03:18:18 -07:00
2013-11-23 21:55:52 +01:00
2013-10-28 09:28:19 +01:00
2014-01-06 08:26:09 +01:00
2014-08-15 05:34:13 -07:00
2013-09-16 11:04:52 +03:00
2014-03-11 13:13:41 +01:00
2014-03-11 13:13:41 +01:00
2013-09-16 22:17:33 +03:00
2014-09-07 23:20:29 +03:00
2014-04-06 16:41:41 +02:00
2014-06-18 15:03:31 +02:00
2013-09-02 21:38:57 +02:00
2013-05-04 21:43:06 +02:00
2014-03-11 13:13:41 +01:00
2014-06-18 15:12:34 +02:00
2014-06-18 15:12:34 +02:00
2013-05-04 21:43:06 +02:00
2014-08-25 10:49:14 +03:00
2014-08-15 05:34:13 -07:00
2013-05-04 21:43:06 +02:00
2014-04-22 07:44:16 +02:00
2013-08-05 16:13:36 +02:00
2014-08-25 10:49:14 +03:00
2013-06-16 15:01:39 +02:00
2014-08-15 05:34:13 -07:00
2014-07-26 14:51:16 -07:00
2014-08-25 05:17:54 +00:00
2014-07-06 09:25:52 -07:00
2013-09-16 22:17:33 +03:00
2014-09-03 02:39:24 +02:00
2013-09-16 11:04:52 +03:00
2014-06-18 15:03:31 +02:00
2014-05-28 07:54:54 +02:00
2014-05-28 07:54:54 +02:00
2013-09-29 18:46:39 +03:00
2013-11-23 21:55:52 +01:00
2014-05-18 20:33:38 +02:00
2013-05-04 21:43:06 +02:00
2013-07-07 22:04:43 +02:00
2014-03-11 13:13:41 +01:00
2013-05-28 17:47:59 +02:00
2013-05-28 17:47:59 +02:00
2013-05-28 17:47:59 +02:00
2013-09-16 22:17:33 +03:00
2013-05-04 21:43:06 +02:00
2014-03-11 13:13:41 +01:00
2013-11-23 21:55:52 +01:00
2014-05-18 10:22:42 +02:00
2014-05-18 10:21:31 +02:00
2014-05-18 10:22:08 +02:00
2014-07-09 13:40:39 +00:00