[MPlayer-cvslog] r31042 - trunk/libmpdemux/demux_ogg.c

diego subversion at mplayerhq.hu
Fri Apr 16 03:42:28 CEST 2010


Author: diego
Date: Fri Apr 16 03:42:28 2010
New Revision: 31042

Log:
Merge two redundant if checks, patch by ubitux, ubitux gmail com.

Modified:
   trunk/libmpdemux/demux_ogg.c

Modified: trunk/libmpdemux/demux_ogg.c
==============================================================================
--- trunk/libmpdemux/demux_ogg.c	Fri Apr 16 03:34:32 2010	(r31041)
+++ trunk/libmpdemux/demux_ogg.c	Fri Apr 16 03:42:28 2010	(r31042)
@@ -647,13 +647,12 @@ static void demux_ogg_scan_stream(demuxe
                    (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);


More information about the MPlayer-cvslog mailing list