comparison decoder.c @ 136:5897ff629f7c src

reorganize mutual header inclusion to fix warnings when compiling with TRACE defined fix vm_jump_title_part to use correct title number (up to now the number was considered to be VTS-relative, which it is not)
author mroi
date Thu, 27 Mar 2003 15:12:26 +0000
parents b6834e6359cf
children 5ddb33e104a8
comparison
equal deleted inserted replaced
135:5204d4e4cd3b 136:5897ff629f7c
30 #include <stdlib.h> 30 #include <stdlib.h>
31 #include <inttypes.h> 31 #include <inttypes.h>
32 #include <string.h> /* For memset */ 32 #include <string.h> /* For memset */
33 #include <dvdread/ifo_types.h> /* vm_cmd_t */ 33 #include <dvdread/ifo_types.h> /* vm_cmd_t */
34 #include <assert.h> 34 #include <assert.h>
35 #include "vmcmd.h"
36 #include "decoder.h"
37 #include "dvdnav_internal.h" 35 #include "dvdnav_internal.h"
38 36
39 uint32_t vm_getbits(command_t *command, int start, int count) { 37 uint32_t vm_getbits(command_t *command, int start, int count) {
40 uint64_t result = 0; 38 uint64_t result = 0;
41 uint64_t bit_mask=0xffffffffffffffff; /* I could put -1 instead */ 39 uint64_t bit_mask=0xffffffffffffffff; /* I could put -1 instead */