diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2019-11-23 05:01:49 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2019-11-23 21:00:04 +0300 |
commit | 59a28b1925ec5804ee5d3d2dca9c0d5ff2c347ec (patch) | |
tree | ea02d292e9c31988abba2c3c3fa6ef88a745676a /tools | |
parent | 52c7427e3fddd6f9cc44e2eb0b1ccf561946de8e (diff) |
input: Use EIO instead of ENODATA
The latter is marked as obsolete by POSIX.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/input/input.c b/tools/input/input.c index ec5a418..83f7328 100644 --- a/tools/input/input.c +++ b/tools/input/input.c @@ -93,7 +93,7 @@ int input_open(DemuxerContext **const c_out, 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++) { |