mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
e903e9eb5e
commit
7120f1dfba
|
@ -647,13 +647,12 @@ static void demux_ogg_scan_stream(demuxer_t *demuxer)
|
||||||
(int)(pos * 100 / s->end_pos));
|
(int)(pos * 100 / s->end_pos));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index_mode == 2)
|
if (index_mode == 2) {
|
||||||
mp_msg(MSGT_DEMUX, MSGL_INFO, "\n");
|
mp_msg(MSGT_DEMUX, MSGL_INFO, "\n");
|
||||||
|
|
||||||
if (index_mode == 2)
|
|
||||||
mp_msg(MSGT_DEMUX, MSGL_V,
|
mp_msg(MSGT_DEMUX, MSGL_V,
|
||||||
"Ogg syncpoints table builed: %d syncpoints\n",
|
"Ogg syncpoints table builed: %d syncpoints\n",
|
||||||
ogg_d->num_syncpoint);
|
ogg_d->num_syncpoint);
|
||||||
|
}
|
||||||
|
|
||||||
mp_msg(MSGT_DEMUX, MSGL_V, "Ogg stream length (granulepos): %"PRId64"\n",
|
mp_msg(MSGT_DEMUX, MSGL_V, "Ogg stream length (granulepos): %"PRId64"\n",
|
||||||
ogg_d->final_granulepos);
|
ogg_d->final_granulepos);
|
||||||
|
|
Loading…
Reference in New Issue