summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 12:19:15 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 12:19:15 +0000
commitcc794c93bb6f4b45ab15cef76278194b6cefde9b (patch)
tree3ed824c66fa674772e33a08e709627e7dc5b5e78 /stream/stream_dvdnav.c
parent394129086bb121d52350b0fcc90a7bcbcc2b7d76 (diff)
downloadmpv-cc794c93bb6f4b45ab15cef76278194b6cefde9b.tar.bz2
mpv-cc794c93bb6f4b45ab15cef76278194b6cefde9b.tar.xz
COSMETICS: consistently reformatted after ben's mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21214 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 8c7611f544..72f823c5f6 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -111,22 +111,20 @@ static dvdnav_priv_t * new_dvdnav_stream(char * filename) {
return priv;
}
-static void dvdnav_get_highlight (dvdnav_priv_t *priv,
- dvdnav_highlight_event_t *hlev,
- int display_mode) {
+static void dvdnav_get_highlight (dvdnav_priv_t *priv, dvdnav_highlight_event_t *hlev, int display_mode) {
pci_t *pnavpci = NULL;
int btnum = -1;
-
+
if (!priv || !priv->dvdnav || !hlev)
return;
pnavpci = dvdnav_get_current_nav_pci (priv->dvdnav);
if (!pnavpci)
return;
-
+
dvdnav_get_current_highlight (priv->dvdnav, &(hlev->buttonN));
hlev->display = display_mode; /* show */
-
+
if (hlev->buttonN > 0 && pnavpci->hli.hl_gi.btn_ns > 0 && hlev->display) {
for (btnum = 0; btnum < pnavpci->hli.hl_gi.btn_ns; btnum++) {
btni_t *btni = &(pnavpci->hli.btnit[btnum]);