diff options
author | wm4 <wm4@nowhere> | 2014-11-21 09:59:58 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-21 09:59:58 +0100 |
commit | 86b521f7dfac8aa6a8edf030ce8fe987fb13a104 (patch) | |
tree | 6f1465728ddae55cf71d89c699b2aaf4d6cc3f6b /video | |
parent | e082c2c3dfced1cd20d7c1cb7ee7a661dffc8686 (diff) | |
download | mpv-86b521f7dfac8aa6a8edf030ce8fe987fb13a104.tar.bz2 mpv-86b521f7dfac8aa6a8edf030ce8fe987fb13a104.tar.xz |
Silence some Coverity warnings
None of this really matters.
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_rotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_rotate.c b/video/filter/vf_rotate.c index 579c3ea24a..9f0c60dd44 100644 --- a/video/filter/vf_rotate.c +++ b/video/filter/vf_rotate.c @@ -47,7 +47,7 @@ static int lavfi_reconfig(struct vf_instance *vf, struct vf_priv_s *p = vf_lw_old_priv(vf); if (p->angle == 4) { // "auto" int r = in->rotate; - if (r < 0 || (r % 90) != 0) { + if (r < 0 || r >= 360 || (r % 90) != 0) { MP_ERR(vf, "Can't apply rotation of %d degrees.\n", r); return -1; } |