Commit 5572e9c
committed
read: Fix some return values
`AVIF_FALSE` is being returned from some functions which return
`avifResult`. `AVIF_FALSE` is `0` which translates to
`AVIF_RESULT_OK` when (accidentally) converted to `avifResult`
which is incorrect.
I think this was a copy-paste error from functions which were
previously returning `avifBool`.1 parent 98cd381 commit 5572e9c
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3390 | 3390 | | |
3391 | 3391 | | |
3392 | 3392 | | |
3393 | | - | |
| 3393 | + | |
3394 | 3394 | | |
3395 | 3395 | | |
3396 | 3396 | | |
| |||
3958 | 3958 | | |
3959 | 3959 | | |
3960 | 3960 | | |
3961 | | - | |
| 3961 | + | |
3962 | 3962 | | |
3963 | 3963 | | |
3964 | 3964 | | |
3965 | 3965 | | |
3966 | 3966 | | |
3967 | 3967 | | |
3968 | 3968 | | |
3969 | | - | |
| 3969 | + | |
3970 | 3970 | | |
3971 | 3971 | | |
3972 | 3972 | | |
| |||
0 commit comments