Mercurial > libavcodec.hg
diff vorbis_dec.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 | a4ebced5d4a2 |
| children | ee1cb5ab9f99 |
line wrap: on
line diff
--- a/vorbis_dec.c Wed Jul 30 18:21:51 2008 +0000 +++ b/vorbis_dec.c Thu Jul 31 10:47:31 2008 +0000 @@ -971,6 +971,7 @@ avccontext->channels = vc->audio_channels; avccontext->sample_rate = vc->audio_samplerate; avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1])>>2; + avccontext->sample_fmt = SAMPLE_FMT_S16; return 0 ; }
