diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-15 13:38:03 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-03 16:43:11 -0500 |
commit | 5602a464c9f9e3c0922f5cfeccaf2fa1c40b2401 (patch) | |
tree | 783511b998940d65fe61a2da3f81e46bbf34cf6d /libavcodec/vorbisdec.c | |
parent | 737ca4482bd68d6dc52a1811f5de8e4952ad7036 (diff) | |
download | ffmpeg-5602a464c9f9e3c0922f5cfeccaf2fa1c40b2401.tar.gz |
avcodec: add a Vorbis parser to get packet duration
This also allows for removing some of the Vorbis-related hacks.
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r-- | libavcodec/vorbisdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index c83d49dbba..0d491c82dd 100644 --- a/libavcodec/vorbisdec.c +++ b/libavcodec/vorbisdec.c @@ -1031,7 +1031,6 @@ 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; avcodec_get_frame_defaults(&vc->frame); avccontext->coded_frame = &vc->frame; |