diff options
author | Guangyu Sun <sunguangyucn@gmail.com> | 2021-07-07 08:41:33 -0700 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-07-12 09:54:52 +0200 |
commit | 24b3178efdfd61c7002d016b0e8db59fd5ff1491 (patch) | |
tree | 5cdfbb6ff0172f011d17c4c5051681ecbc9b0236 /tests/extended.ffconcat | |
parent | 75510d7015f108b84dd3be3c903afa710997d719 (diff) | |
download | ffmpeg-24b3178efdfd61c7002d016b0e8db59fd5ff1491.tar.gz |
libavcodec/vorbisenc: Add missing initial_padding
Vorbis has priming samples at the beginning. If the initial_padding is not
set in the encoder, the total sample count will be one frame fewer than it
should be. The result is that we get a truncated version of encoding.
initial_padding should be set to the frame_size used in
vorbis_encode_frame().
Signed-off-by: Guangyu Sun <gsun@roblox.com>
Diffstat (limited to 'tests/extended.ffconcat')
0 files changed, 0 insertions, 0 deletions