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:
authorRonald S. Bultje <rsbultje@gmail.com>2022-02-09 15:17:30 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2022-02-09 16:21:28 +0300
commit2131a2cdaf5d14495ff7f26c0f40232cacdfa561 (patch)
treecd5409ca81db582f80a2175d04392549f8fcdf76 /tools
parenta00289b6d8ebf0ffef9b2c08c0c63b7ad330fa47 (diff)
Fix typo in EINVAL comparison
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 {