Mercurial > libavcodec.hg
comparison ac3dec.c @ 7311:b5dacf4fc65b libavcodec
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
author | jbr |
---|---|
date | Sat, 19 Jul 2008 02:54:54 +0000 |
parents | e943e1409077 |
children | 9309e19c2b98 |
comparison
equal
deleted
inserted
replaced
7310:033d10927d45 | 7311:b5dacf4fc65b |
---|---|
435 | 435 |
436 for (i = start; i < end; i++) { | 436 for (i = start; i < end; i++) { |
437 tbap = bap[i]; | 437 tbap = bap[i]; |
438 switch (tbap) { | 438 switch (tbap) { |
439 case 0: | 439 case 0: |
440 coeffs[i] = (av_random(&s->dith_state) & 0x7FFFFF) - 4194304; | 440 coeffs[i] = (av_random(&s->dith_state) & 0x7FFFFF) - 0x400000; |
441 break; | 441 break; |
442 | 442 |
443 case 1: | 443 case 1: |
444 if(m->b1ptr > 2) { | 444 if(m->b1ptr > 2) { |
445 gcode = get_bits(gbc, 5); | 445 gcode = get_bits(gbc, 5); |