This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Set frame_size to the gcd of what the decoder can output.
Originally committed as revision 13971 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
6e1aa0f383
commit
da95f225fd
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/vorbis_dec.c
+ 1
- 0
libavcodec/vorbis_dec.c
View File
@@ -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 ;
}
Write
Preview
Loading…
Cancel
Save