Mercurial > libavcodec.hg
comparison vmdav.c @ 7451:85ab7655ad4d libavcodec
Modify all codecs to report their supported input and output sample format(s).
author | pross |
---|---|
date | Thu, 31 Jul 2008 10:47:31 +0000 |
parents | 322023e630a6 |
children | 4525dcd81357 |
comparison
equal
deleted
inserted
replaced
7450:30d38a880fde | 7451:85ab7655ad4d |
---|---|
444 | 444 |
445 s->avctx = avctx; | 445 s->avctx = avctx; |
446 s->channels = avctx->channels; | 446 s->channels = avctx->channels; |
447 s->bits = avctx->bits_per_sample; | 447 s->bits = avctx->bits_per_sample; |
448 s->block_align = avctx->block_align; | 448 s->block_align = avctx->block_align; |
449 avctx->sample_fmt = SAMPLE_FMT_S16; | |
449 | 450 |
450 av_log(s->avctx, AV_LOG_DEBUG, "%d channels, %d bits/sample, block align = %d, sample rate = %d\n", | 451 av_log(s->avctx, AV_LOG_DEBUG, "%d channels, %d bits/sample, block align = %d, sample rate = %d\n", |
451 s->channels, s->bits, s->block_align, avctx->sample_rate); | 452 s->channels, s->bits, s->block_align, avctx->sample_rate); |
452 | 453 |
453 return 0; | 454 return 0; |