Commit 59a28b19 authored by Henrik Gramner's avatar Henrik Gramner Committed by Henrik Gramner

input: Use EIO instead of ENODATA

The latter is marked as obsolete by POSIX.
parent 52c7427e
......@@ -93,7 +93,7 @@ int input_open(DemuxerContext **const c_out,
if (!res) {
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++) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment