1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

COSMETICS: consistently reformatted after ben's mess

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21214 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-11-25 12:19:15 +00:00
parent 394129086b
commit cc794c93bb

View File

@ -111,22 +111,20 @@ static dvdnav_priv_t * new_dvdnav_stream(char * filename) {
return priv; return priv;
} }
static void dvdnav_get_highlight (dvdnav_priv_t *priv, static void dvdnav_get_highlight (dvdnav_priv_t *priv, dvdnav_highlight_event_t *hlev, int display_mode) {
dvdnav_highlight_event_t *hlev,
int display_mode) {
pci_t *pnavpci = NULL; pci_t *pnavpci = NULL;
int btnum = -1; int btnum = -1;
if (!priv || !priv->dvdnav || !hlev) if (!priv || !priv->dvdnav || !hlev)
return; return;
pnavpci = dvdnav_get_current_nav_pci (priv->dvdnav); pnavpci = dvdnav_get_current_nav_pci (priv->dvdnav);
if (!pnavpci) if (!pnavpci)
return; return;
dvdnav_get_current_highlight (priv->dvdnav, &(hlev->buttonN)); dvdnav_get_current_highlight (priv->dvdnav, &(hlev->buttonN));
hlev->display = display_mode; /* show */ hlev->display = display_mode; /* show */
if (hlev->buttonN > 0 && pnavpci->hli.hl_gi.btn_ns > 0 && hlev->display) { if (hlev->buttonN > 0 && pnavpci->hli.hl_gi.btn_ns > 0 && hlev->display) {
for (btnum = 0; btnum < pnavpci->hli.hl_gi.btn_ns; btnum++) { for (btnum = 0; btnum < pnavpci->hli.hl_gi.btn_ns; btnum++) {
btni_t *btni = &(pnavpci->hli.btnit[btnum]); btni_t *btni = &(pnavpci->hli.btnit[btnum]);