Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/dav1d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dav1d.c b/tools/dav1d.c
index 6f57faa..4348c4f 100644
--- a/tools/dav1d.c
+++ b/tools/dav1d.c
@@ -280,7 +280,7 @@ int main(const int argc, char *const *const argv) {
if (res != DAV1D_ERR(EAGAIN)) {
fprintf(stderr, "Error decoding frame: %s\n",
strerror(DAV1D_ERR(res)));
- if (res == DAV1D_ERR(EINVAL)) break;
+ if (res != DAV1D_ERR(EINVAL)) break;
}
res = 0;
} else {