[vlc-commits] demux: subtitle: Fix spelling of 'subtract'

Sebastian Ramacher git at videolan.org
Wed Sep 27 09:02:05 CEST 2017


vlc | branch: master | Sebastian Ramacher <sramacher at debian.org> | Tue Sep 26 23:19:50 2017 +0200| [b4b1b9c82ebf77b258f4b6d53f123d199644f546] | committer: Thomas Guillem

demux: subtitle: Fix spelling of 'subtract'

Signed-off-by: Sebastian Ramacher <sramacher at debian.org>
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4b1b9c82ebf77b258f4b6d53f123d199644f546
---

 modules/demux/subtitle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 71302807e4..89f1198114 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -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;
 }



More information about the vlc-commits mailing list