From 0d3f60aefff7ea4d8ed6cbd4f42a5bb5c6ab7edb Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 27 Jan 2008 16:38:04 +0000 Subject: Reindent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25885 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mpcommon.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'mpcommon.c') diff --git a/mpcommon.c b/mpcommon.c index ee9a5c992f..b9e9296d2a 100644 --- a/mpcommon.c +++ b/mpcommon.c @@ -124,17 +124,17 @@ void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset) ass_process_chunk(ass_track, packet, len, (long long)(pts*1000 + 0.5), (long long)((endpts-pts)*1000 + 0.5)); - } else { // plaintext subs with libass - vo_sub = NULL; - if (pts != MP_NOPTS_VALUE) { - if (endpts == MP_NOPTS_VALUE) endpts = pts + 3; - sub_clear_text(&subs, MP_NOPTS_VALUE); - sub_add_text(&subs, packet, len, endpts); - subs.start = pts * 100; - subs.end = endpts * 100; - ass_process_subtitle(ass_track, &subs); + } else { // plaintext subs with libass + vo_sub = NULL; + if (pts != MP_NOPTS_VALUE) { + if (endpts == MP_NOPTS_VALUE) endpts = pts + 3; + sub_clear_text(&subs, MP_NOPTS_VALUE); + sub_add_text(&subs, packet, len, endpts); + subs.start = pts * 100; + subs.end = endpts * 100; + ass_process_subtitle(ass_track, &subs); + } } - } continue; } #endif -- cgit v1.2.3