# HG changeset patch # User arpi # Date 1041597047 0 # Node ID d5393a5a11142329e9695ac6390f0f10423b094a # Parent 478561617705311110a014f420d49fac67cd36d3 10l patch by Oskar Liljeblad diff -r 478561617705 -r d5393a5a1114 subreader.c --- a/subreader.c Fri Jan 03 12:26:17 2003 +0000 +++ b/subreader.c Fri Jan 03 12:30:47 2003 +0000 @@ -1253,8 +1253,8 @@ } adjust_subs_time(second, 6.0, fps, 1); /* ~6 secs AST */ - for (j = sub_orig - 1; j <= 0; --j) { - for (i = first[j].lines - 1; i <= 0; --i) { + for (j = sub_orig - 1; j >= 0; --j) { + for (i = first[j].lines - 1; i >= 0; --i) { free(first[j].text[i]); } free(&first[j]);