comparison wmadec.c @ 3776:1843a85123b7 libavcodec

fix some signedness warnings
author mru
date Wed, 27 Sep 2006 19:47:39 +0000
parents 44fdf93a0901
children c8c591fe26f8
comparison
equal deleted inserted replaced
3775:8e1ed8300165 3776:1843a85123b7
869 for(ch = 0; ch < s->nb_channels; ch++) { 869 for(ch = 0; ch < s->nb_channels; ch++) {
870 if (s->channel_coded[ch]) { 870 if (s->channel_coded[ch]) {
871 VLC *coef_vlc; 871 VLC *coef_vlc;
872 int level, run, sign, tindex; 872 int level, run, sign, tindex;
873 int16_t *ptr, *eptr; 873 int16_t *ptr, *eptr;
874 const int16_t *level_table, *run_table; 874 const uint16_t *level_table, *run_table;
875 875
876 /* special VLC tables are used for ms stereo because 876 /* special VLC tables are used for ms stereo because
877 there is potentially less energy there */ 877 there is potentially less energy there */
878 tindex = (ch == 1 && s->ms_stereo); 878 tindex = (ch == 1 && s->ms_stereo);
879 coef_vlc = &s->coef_vlc[tindex]; 879 coef_vlc = &s->coef_vlc[tindex];