Diff of /src/vm/decoder.c [11366b] .. [576533] Maximize Restore

  Switch to unified view

a/src/vm/decoder.c b/src/vm/decoder.c
...
...
31
#include <string.h>  /* For memset */
31
#include <string.h>  /* For memset */
32
#include <sys/time.h>
32
#include <sys/time.h>
33
#include <dvdread/nav_types.h>
33
#include <dvdread/nav_types.h>
34
#include <dvdread/ifo_types.h> /* vm_cmd_t */
34
#include <dvdread/ifo_types.h> /* vm_cmd_t */
35
35
36
#include "dvd_types.h"
36
#include "dvdnav/dvdnav.h"
37
#include "remap.h"
37
#include "remap.h"
38
#include "decoder.h"
38
#include "decoder.h"
39
#include "vm.h"
39
#include "vm.h"
40
#include "vmcmd.h"
40
#include "vmcmd.h"
41
#include "dvdnav.h"
42
#include "dvdnav_internal.h"
41
#include "dvdnav_internal.h"
43
42
44
uint32_t vm_getbits(command_t *command, int32_t start, int32_t count) {
43
uint32_t vm_getbits(command_t *command, int32_t start, int32_t count) {
45
  uint64_t result = 0;
44
  uint64_t result = 0;
46
  uint64_t bit_mask = 0;
45
  uint64_t bit_mask = 0;