[MPlayer-cvslog] r20297 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Wed Oct 18 17:52:27 CEST 2006


Author: eugeni
Date: Wed Oct 18 17:52:26 2006
New Revision: 20297

Modified:
   trunk/libass/ass_render.c

Log:
Fix a typo in collision detection code.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Wed Oct 18 17:52:26 2006
@@ -2009,7 +2009,7 @@
 
 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)



More information about the MPlayer-cvslog mailing list