projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1aa0f
)
Set frame_size to the gcd of what the decoder can output.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Jun 2008 18:35:24 +0000
(18:35 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Jun 2008 18:35:24 +0000
(18:35 +0000)
Originally committed as revision 13971 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vorbis_dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/vorbis_dec.c
b/libavcodec/vorbis_dec.c
index
299c787
..
673c040
100644
(file)
--- a/
libavcodec/vorbis_dec.c
+++ b/
libavcodec/vorbis_dec.c
@@
-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 ;
}