summaryrefslogtreecommitdiffstats
path: root/mpcommon.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-27 16:38:04 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-27 16:38:04 +0000
commit0d3f60aefff7ea4d8ed6cbd4f42a5bb5c6ab7edb (patch)
tree3795d809972c20a0f4647ded9ba2c270cfa49474 /mpcommon.c
parentf87af1b8cc08af3795f47e47dca0d6c0cec02f70 (diff)
downloadmpv-0d3f60aefff7ea4d8ed6cbd4f42a5bb5c6ab7edb.tar.bz2
mpv-0d3f60aefff7ea4d8ed6cbd4f42a5bb5c6ab7edb.tar.xz
Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25885 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpcommon.c')
-rw-r--r--mpcommon.c20
1 files changed, 10 insertions, 10 deletions
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