changeset 240:585e0f683973 src

nesting and indentation do not match, but I think the braces do not actually change anything
author mroi
date Mon, 16 Feb 2004 15:53:20 +0000
parents eaa775ba1306
children 12cff2e56f55
files dvdread/nav_read.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dvdread/nav_read.c	Fri Feb 13 19:16:17 2004 +0000
+++ b/dvdread/nav_read.c	Mon Feb 16 15:53:20 2004 +0000
@@ -77,7 +77,7 @@
       number_of_bits = 0;
     }
   }
-  if ((state->bit_position) == 0)
+  if ((state->bit_position) == 0) {
     while (number_of_bits > 7) {
       result = (result << 8) + state->byte;
       state->byte_position++;
@@ -92,6 +92,7 @@
       result = (result << number_of_bits) + byte;
       number_of_bits = 0;
     }
+  }
 
   return result;
 }