Mercurial > libdvdnav.hg
diff dvdread/nav_read.c @ 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 | 9b1b740e3fc9 |
children | e75c52894630 |
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; }