summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index ee11b21f15..c70f245c7f 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -226,7 +226,7 @@ static int hwdec_compare(const void *p1, const void *p2)
if (h1->auto_pos > h2->auto_pos)
return 1;
- else if (h1->auto_pos < h2->auto_pos)
+ if (h1->auto_pos < h2->auto_pos)
return -1;
return h1->rank < h2->rank ? 1 :-1;
}