changeset 31000:21516121610a

Merge two redundant if checks, patch by ubitux, ubitux gmail com.
author diego
date Fri, 16 Apr 2010 01:42:28 +0000
parents abb0b5990ec8
children 6215761e4d02
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Fri Apr 16 01:34:32 2010 +0000
+++ b/libmpdemux/demux_ogg.c	Fri Apr 16 01:42:28 2010 +0000
@@ -647,13 +647,12 @@
                    (int)(pos * 100 / s->end_pos));
     }
 
-    if (index_mode == 2)
+    if (index_mode == 2) {
         mp_msg(MSGT_DEMUX, MSGL_INFO, "\n");
-
-    if (index_mode == 2)
         mp_msg(MSGT_DEMUX, MSGL_V,
                "Ogg syncpoints table builed: %d syncpoints\n",
                ogg_d->num_syncpoint);
+    }
 
     mp_msg(MSGT_DEMUX, MSGL_V, "Ogg stream length (granulepos): %"PRId64"\n",
            ogg_d->final_granulepos);