Commit 0c33e712 authored by michael's avatar michael

Set frame_size to the gcd of what the decoder can output.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13971 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 51dc103a
......@@ -979,6 +979,7 @@ static av_cold int vorbis_decode_init(AVCodecContext *avccontext) {
avccontext->channels = vc->audio_channels;
avccontext->sample_rate = vc->audio_samplerate;
avccontext->frame_size = FFMIN(vc->blocksize[0], vc->blocksize[1])>>2;
return 0 ;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment