Mercurial > mplayer.hg
comparison edl.c @ 18902:8ea7d3506836
corectly report badly formated line number
author | reynaldo |
---|---|
date | Wed, 05 Jul 2006 06:36:54 +0000 |
parents | 3a3848fb592a |
children | 58872b168da0 |
comparison
equal
deleted
inserted
replaced
18901:3a3848fb592a | 18902:8ea7d3506836 |
---|---|
76 lineCount++; | 76 lineCount++; |
77 if ((sscanf(line, "%f %f %d", &start, &stop, &action)) | 77 if ((sscanf(line, "%f %f %d", &start, &stop, &action)) |
78 != 3) | 78 != 3) |
79 { | 79 { |
80 mp_msg(MSGT_CPLAYER, MSGL_WARN, MSGTR_EdlBadlyFormattedLine, | 80 mp_msg(MSGT_CPLAYER, MSGL_WARN, MSGTR_EdlBadlyFormattedLine, |
81 lineCount + 1); | 81 lineCount); |
82 continue; | 82 continue; |
83 } else | 83 } else |
84 { | 84 { |
85 if (next_edl_record && start <= next_edl_record->stop_sec) | 85 if (next_edl_record && start <= next_edl_record->stop_sec) |
86 { | 86 { |