summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-16 01:42:28 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-16 01:42:28 +0000
commit7120f1dfbaea8c6bcf2c346251758d6e6520a5d5 (patch)
tree34254f2c1cd5e17ceccf3533b6dbe9f5e17c92a9 /libmpdemux
parente903e9eb5e17ae81e3c9259bcf7eee4b434fb686 (diff)
downloadmpv-7120f1dfbaea8c6bcf2c346251758d6e6520a5d5.tar.bz2
mpv-7120f1dfbaea8c6bcf2c346251758d6e6520a5d5.tar.xz
Merge two redundant if checks, patch by ubitux, ubitux gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31042 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ogg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c
index aa2195b176..58876c6522 100644
--- a/libmpdemux/demux_ogg.c
+++ b/libmpdemux/demux_ogg.c
@@ -647,13 +647,12 @@ static void demux_ogg_scan_stream(demuxer_t *demuxer)
(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);