aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-18 15:52:26 +0000
committerGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-18 15:52:26 +0000
commit6d4ad204b2b4fb3a0ba3d8fa38bf7c7ea8eb9085 (patch)
treea297b8249ad5060bfbbc51f5ebd185cdcf489ed9
parentf1e465fdb286fa1d314d633055f6fb5f46509932 (diff)
Fix a typo in collision detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20297 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libass/ass_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index f29b79bab3..a7d504ccdb 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -2009,7 +2009,7 @@ static int overlap(segment_t* s1, segment_t* s2)
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)