Mercurial > libdvdread4.hg
comparison bitreader.c @ 33:c743d79f187b src
Move installed headers into dvdread directory to make them easier to
use in a consistent way without installing.
author | reimar |
---|---|
date | Wed, 31 Dec 2008 08:43:03 +0000 |
parents | 447c5319a522 |
children | 9f1804080f76 |
comparison
equal
deleted
inserted
replaced
32:6698620c1477 | 33:c743d79f187b |
---|---|
23 #include <stdio.h> | 23 #include <stdio.h> |
24 #include <stdlib.h> | 24 #include <stdlib.h> |
25 #include <string.h> | 25 #include <string.h> |
26 #include <inttypes.h> | 26 #include <inttypes.h> |
27 | 27 |
28 #include "bitreader.h" | 28 #include "dvdread/bitreader.h" |
29 | 29 |
30 int dvdread_getbits_init(getbits_state_t *state, uint8_t *start) { | 30 int dvdread_getbits_init(getbits_state_t *state, uint8_t *start) { |
31 if ((state == NULL) || (start == NULL)) return 0; | 31 if ((state == NULL) || (start == NULL)) return 0; |
32 state->start = start; | 32 state->start = start; |
33 state->bit_position = 0; | 33 state->bit_position = 0; |