comparison 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
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
969 } 969 }
970 970
971 avccontext->channels = vc->audio_channels; 971 avccontext->channels = vc->audio_channels;
972 avccontext->sample_rate = vc->audio_samplerate; 972 avccontext->sample_rate = vc->audio_samplerate;
973 avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1])>>2; 973 avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1])>>2;
974 avccontext->sample_fmt = SAMPLE_FMT_S16;
974 975
975 return 0 ; 976 return 0 ;
976 } 977 }
977 978
978 // Decode audiopackets ------------------------------------------------- 979 // Decode audiopackets -------------------------------------------------