diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-18 15:52:26 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-18 15:52:26 +0000 |
commit | 440f1563047261fc04baaf5fe9dc0666aa120aeb (patch) | |
tree | 628d939c672c271e407073549eab9e73a6b8a826 /libass | |
parent | 9b76c73b16bf9be47dd1885aa51f7d37f4b9edd4 (diff) | |
download | libass-440f1563047261fc04baaf5fe9dc0666aa120aeb.tar.bz2 libass-440f1563047261fc04baaf5fe9dc0666aa120aeb.tar.xz |
Fix a typo in collision detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20297 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index f29b79ba..a7d504cc 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) |