summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-02 00:45:03 +0100
committerwm4 <wm4@nowhere>2017-12-02 00:45:03 +0100
commit47f7920006ff2dc280a717d0312de706f567fde5 (patch)
treefe5b01f25b0b29d893b19da00855f4928dd2e8ab /video
parent627fa5aae0489b4580241eea8ac72b09cffae44d (diff)
downloadmpv-47f7920006ff2dc280a717d0312de706f567fde5.tar.bz2
mpv-47f7920006ff2dc280a717d0312de706f567fde5.tar.xz
vd_lavc: coding style
Diffstat (limited to 'video')
-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;
}