vorbisenc: Apply and output correct length window and mdct
authorTyler Jones <tdjones879@gmail.com>
Wed, 14 Jun 2017 20:58:55 +0000 (14:58 -0600)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Thu, 15 Jun 2017 15:42:49 +0000 (16:42 +0100)
commitf57f665183596ea0c640a87f924a12182141a29b
tree602cfd8c1427897028727a25da179e10f516556a
parent5a2ad7ede33b5d63c1f1b1313a218da62e1c0d48
vorbisenc: Apply and output correct length window and mdct

Usage of blocksize, window, mode, and mdct indexes are switched from
default 0 to a default of 1 to better align with specs. A flag of 0
should correspond with short windows, a flag of 1 with long.

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