# HG changeset patch # User mroi # Date 1076946800 0 # Node ID 585e0f68397379dd727d98558b23a6b60927526a # Parent eaa775ba1306d714fbde25f9ea74da4e3ef2f317 nesting and indentation do not match, but I think the braces do not actually change anything diff -r eaa775ba1306 -r 585e0f683973 dvdread/nav_read.c --- 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; }