Commit b4b1b9c8 authored by Sebastian Ramacher's avatar Sebastian Ramacher Committed by Thomas Guillem

demux: subtitle: Fix spelling of 'subtract'

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sramacher@debian.org>
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 60f355be
......@@ -919,7 +919,7 @@ static int Demux( demux_t *p_demux )
static int subtitle_cmp( const void *first, const void *second )
{
int64_t result = ((subtitle_t *)(first))->i_start - ((subtitle_t *)(second))->i_start;
/* Return -1, 0 ,1, and not directly substraction
/* Return -1, 0 ,1, and not directly subtraction
* as result can be > INT_MAX */
return result == 0 ? 0 : result > 0 ? 1 : -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment