comparison vmdav.c @ 2979:bfabfdf9ce55 libavcodec

COSMETICS: tabs --> spaces, some prettyprinting
author diego
date Thu, 22 Dec 2005 01:10:11 +0000
parents ef2149182f1c
children 0b546eab515d
comparison
equal deleted inserted replaced
2978:403183bbb505 2979:bfabfdf9ce55
429 s->channels = avctx->channels; 429 s->channels = avctx->channels;
430 s->bits = avctx->bits_per_sample; 430 s->bits = avctx->bits_per_sample;
431 s->block_align = avctx->block_align; 431 s->block_align = avctx->block_align;
432 432
433 av_log(s->avctx, AV_LOG_DEBUG, "%d channels, %d bits/sample, block align = %d, sample rate = %d\n", 433 av_log(s->avctx, AV_LOG_DEBUG, "%d channels, %d bits/sample, block align = %d, sample rate = %d\n",
434 s->channels, s->bits, s->block_align, avctx->sample_rate); 434 s->channels, s->bits, s->block_align, avctx->sample_rate);
435 435
436 /* set up the steps8 and steps16 tables */ 436 /* set up the steps8 and steps16 tables */
437 for (i = 0; i < 8; i++) { 437 for (i = 0; i < 8; i++) {
438 if (i < 4) 438 if (i < 4)
439 s->steps8[i] = i; 439 s->steps8[i] = i;
487 { 487 {
488 int bytes_decoded = 0; 488 int bytes_decoded = 0;
489 int i; 489 int i;
490 490
491 if (silence) 491 if (silence)
492 av_log(s->avctx, AV_LOG_INFO, "silent block!\n"); 492 av_log(s->avctx, AV_LOG_INFO, "silent block!\n");
493 if (s->channels == 2) { 493 if (s->channels == 2) {
494 494
495 /* stereo handling */ 495 /* stereo handling */
496 if ((s->block_align & 0x01) == 0) { 496 if ((s->block_align & 0x01) == 0) {
497 if (silence) 497 if (silence)