diff options
author | Peter Ross <pross@xvid.org> | 2008-07-31 10:47:31 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-07-31 10:47:31 +0000 |
commit | fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4 (patch) | |
tree | e391aec76fcfa666a50c7ccce172ff7a8d140da9 /libavcodec/vmdav.c | |
parent | c8fd5da42fffc92268a0e23335af36580f2a2a4b (diff) | |
download | ffmpeg-fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4.tar.gz |
Modify all codecs to report their supported input and output sample format(s).
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vmdav.c')
-rw-r--r-- | libavcodec/vmdav.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index e3a8144b01..b6e10d7faa 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -446,6 +446,7 @@ static av_cold int vmdaudio_decode_init(AVCodecContext *avctx) 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); |