diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2022-02-09 15:17:30 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2022-02-09 16:21:28 +0300 |
commit | 2131a2cdaf5d14495ff7f26c0f40232cacdfa561 (patch) | |
tree | cd5409ca81db582f80a2175d04392549f8fcdf76 /tools | |
parent | a00289b6d8ebf0ffef9b2c08c0c63b7ad330fa47 (diff) |
Fix typo in EINVAL comparison
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dav1d.c | 2 |
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 { |