Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/vmdav.c Wed Jul 30 18:21:51 2008 +0000 +++ b/vmdav.c Thu Jul 31 10:47:31 2008 +0000 @@ -446,6 +446,7 @@ s->channels = avctx->channels; s->bits = avctx->bits_per_sample; s->block_align = avctx->block_align; + avctx->sample_fmt = SAMPLE_FMT_S16; av_log(s->avctx, AV_LOG_DEBUG, "%d channels, %d bits/sample, block align = %d, sample rate = %d\n", s->channels, s->bits, s->block_align, avctx->sample_rate);