ref: 59a28b1925ec5804ee5d3d2dca9c0d5ff2c347ec
parent: 52c7427e3fddd6f9cc44e2eb0b1ccf561946de8e
author: Henrik Gramner <gramner@twoorioles.com>
date: Fri Nov 22 22:01:49 EST 2019
input: Use EIO instead of ENODATA The latter is marked as obsolete by POSIX.
--- a/tools/input/input.c
+++ b/tools/input/input.c
@@ -93,7 +93,7 @@
if (!res) {
free(probe_data);
fprintf(stderr, "Failed to read probe data\n");
- return errno ? DAV1D_ERR(errno) : DAV1D_ERR(ENODATA);
+ return errno ? DAV1D_ERR(errno) : DAV1D_ERR(EIO);
}
for (i = 0; i < num_demuxers; i++) {