avcodec/vorbisenc: Use a bufqueue in encoding with smaller lengths
authorTyler Jones <tdjones879@gmail.com>
Tue, 30 May 2017 17:28:16 +0000 (11:28 -0600)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Mon, 5 Jun 2017 15:35:07 +0000 (16:35 +0100)
commit29c13fed68ac710a2584d31258ff9e576ee560e3
treeb595e638cced298b8e1366b02b1a4a195ea7f0a4
parent25260b5161af064b95a258e4a5805b16946d0575
avcodec/vorbisenc: Use a bufqueue in encoding with smaller lengths

Switching the vorbis encoder to use a buffer queue for input frames allows
saving lookahead samples more easily and safely for psychoacoustic systems,
requiring less pointer arithmetic in the case of transient windows.
libavcodec/vorbisenc.c