vorbisenc: Stop tracking number of samples per frame
authorTyler Jones <tdjones879@gmail.com>
Wed, 14 Jun 2017 20:59:07 +0000 (14:59 -0600)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Thu, 15 Jun 2017 15:42:49 +0000 (16:42 +0100)
commit752dd1952a7b68094f8b2d5da0ca0df94190cf0e
tree98f1d5854a6ab0ea5f82773bdafaabedf279cbe5
parentf57f665183596ea0c640a87f924a12182141a29b
vorbisenc: Stop tracking number of samples per frame

Each frame is now padded with 0 values if not enough samples are
present, and all frames are guaranteed to have exactly
1 << (venc->log2_blocksize[1] - 1) samples.

Signed-off-by: Tyler Jones <tdjones879@gmail.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/vorbisenc.c