summaryrefslogtreecommitdiffstats
path: root/edl.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
commit6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch)
tree0ed465592509105fdbeab27fc12ddbb2e3590aa5 /edl.c
parenteafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff)
downloadmpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2
mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'edl.c')
-rw-r--r--edl.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/edl.c b/edl.c
index 7ed58c7821..5a38d9d59b 100644
--- a/edl.c
+++ b/edl.c
@@ -22,12 +22,12 @@ static edl_record_ptr edl_alloc_new(edl_record_ptr next_edl_record)
mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_EdlOutOfMem);
exit(1);
}
-
+
if (next_edl_record) // if this isn't the first record, tell the previous one what the new one is.
next_edl_record->next = new_record;
new_record->prev = next_edl_record;
new_record->next = NULL;
-
+
return new_record;
}
@@ -81,14 +81,14 @@ edl_record_ptr edl_parse_file(void)
mp_msg(MSGT_CPLAYER, MSGL_WARN, MSGTR_EdlBadlyFormattedLine,
lineCount);
continue;
- }
-
+ }
+
if (next_edl_record && start <= next_edl_record->stop_sec)
{
mp_msg(MSGT_CPLAYER, MSGL_WARN, MSGTR_EdlNOValidLine, line);
mp_msg(MSGT_CPLAYER, MSGL_WARN, MSGTR_EdlBadLineOverlap,
next_edl_record->stop_sec, start);
- continue;
+ continue;
}
if (stop <= start)
@@ -110,9 +110,9 @@ edl_record_ptr edl_parse_file(void)
next_edl_record->length_sec = 0;
next_edl_record->start_sec = start;
next_edl_record->stop_sec = start;
-
+
next_edl_record = edl_alloc_new(next_edl_record);
-
+
next_edl_record->action = action;
next_edl_record->length_sec = 0;
next_edl_record->start_sec = stop;
@@ -128,11 +128,11 @@ edl_record_ptr edl_parse_file(void)
}
fclose(fd);
- }
+ }
- if (edl_records)
+ if (edl_records)
mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_EdlRecordsNo, record_count);
- else
+ else
mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_EdlQueueEmpty);
return edl_records;