Revision 18f77016 libavcodec/svq1.c

View differences:

libavcodec/svq1.c
591 591
      }
592 592

  
593 593
#define SVQ1_CALC_CODEBOOK_ENTRIES(cbook)\
594
      codebook = (uint32_t *) cbook[level];\
594
      codebook = (const uint32_t *) cbook[level];\
595 595
      bit_cache = get_bits (bitbuf, 4*stages);\
596 596
      /* calculate codebook entries for this vector */\
597 597
      for (j=0; j < stages; j++) {\
......
605 605
  vlc_code_t *vlc;
606 606
  uint8_t    *list[63];
607 607
  uint32_t   *dst;
608
  uint32_t   *codebook;
608
  const uint32_t *codebook;
609 609
  int	      entries[6];
610 610
  int	      i, j, m, n;
611 611
  int	      mean, stages;
612
  int	      x, y, width, height, level;
612
  unsigned    x, y, width, height, level;
613 613
  uint32_t    n1, n2, n3, n4;
614 614

  
615 615
  /* initialize list for breadth first processing of vectors */
......
681 681
  vlc_code_t *vlc;
682 682
  uint8_t    *list[63];
683 683
  uint32_t   *dst;
684
  uint32_t   *codebook;
684
  const uint32_t *codebook;
685 685
  int	      entries[6];
686 686
  int	      i, j, m, n;
687 687
  int	      mean, stages;

Also available in: Unified diff