[MPlayer-cvslog] r25885 - trunk/mpcommon.c

reimar subversion at mplayerhq.hu
Sun Jan 27 17:38:04 CET 2008


Author: reimar
Date: Sun Jan 27 17:38:04 2008
New Revision: 25885

Log:
Reindent


Modified:
   trunk/mpcommon.c

Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c	(original)
+++ trunk/mpcommon.c	Sun Jan 27 17:38:04 2008
@@ -124,17 +124,17 @@ void update_subtitles(sh_video_t *sh_vid
                     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



More information about the MPlayer-cvslog mailing list