comparison vorbis_dec.c @ 10310:d3644248015a libavcodec

some more linebreak and brace placement cosmetics
author diego
date Mon, 28 Sep 2009 21:46:22 +0000
parents d157ccc267e7
children 7bfcc66f807d
comparison
equal deleted inserted replaced
10309:d157ccc267e7 10310:d3644248015a
745 return -1; // following spec. 745 return -1; // following spec.
746 } 746 }
747 747
748 if (mapping_setup->submaps>1) { 748 if (mapping_setup->submaps>1) {
749 mapping_setup->mux=av_mallocz(vc->audio_channels * sizeof(uint_fast8_t)); 749 mapping_setup->mux=av_mallocz(vc->audio_channels * sizeof(uint_fast8_t));
750 for(j=0;j<vc->audio_channels;++j) { 750 for(j=0;j<vc->audio_channels;++j)
751 mapping_setup->mux[j]=get_bits(gb, 4); 751 mapping_setup->mux[j]=get_bits(gb, 4);
752 }
753 } 752 }
754 753
755 for(j=0;j<mapping_setup->submaps;++j) { 754 for(j=0;j<mapping_setup->submaps;++j) {
756 int bits; 755 int bits;
757 skip_bits(gb, 8); // FIXME check? 756 skip_bits(gb, 8); // FIXME check?
1160 uint_fast16_t i,j; 1159 uint_fast16_t i,j;
1161 /*u*/int_fast16_t adx, ady, off, predicted; // WTF ? dy/adx= (unsigned)dy/adx ? 1160 /*u*/int_fast16_t adx, ady, off, predicted; // WTF ? dy/adx= (unsigned)dy/adx ?
1162 int_fast16_t dy, err; 1161 int_fast16_t dy, err;
1163 1162
1164 1163
1165 if (!get_bits1(gb)) return 1; // silence 1164 if (!get_bits1(gb)) // silence
1165 return 1;
1166 1166
1167 // Read values (or differences) for the floor's points 1167 // Read values (or differences) for the floor's points
1168 1168
1169 floor1_Y[0]=get_bits(gb, ilog(range-1)); 1169 floor1_Y[0]=get_bits(gb, ilog(range-1));
1170 floor1_Y[1]=get_bits(gb, ilog(range-1)); 1170 floor1_Y[1]=get_bits(gb, ilog(range-1));