mirror of https://github.com/mpv-player/mpv
Fix a typo in collision detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20297 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f1e465fdb2
commit
6d4ad204b2
|
@ -2009,7 +2009,7 @@ static int overlap(segment_t* s1, segment_t* s2)
|
||||||
|
|
||||||
static int cmp_segment(const void* p1, const void* p2)
|
static int cmp_segment(const void* p1, const void* p2)
|
||||||
{
|
{
|
||||||
return ((segment_t*)p1)->a - ((segment_t*)p1)->b;
|
return ((segment_t*)p1)->a - ((segment_t*)p2)->a;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void shift_event(event_images_t* ei, int shift)
|
static void shift_event(event_images_t* ei, int shift)
|
||||||
|
|
Loading…
Reference in New Issue