diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-15 19:20:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-19 17:05:33 +0200 |
commit | 017d976629ea272965ea67201543c8b5538cbf09 (patch) | |
tree | e6334a4275fdff0f35ade9b8c80172aac579c79a /libavcodec/snowenc.c | |
parent | dc7b6645575aa431d1d49744a17f60ee415ebc8b (diff) | |
download | ffmpeg-017d976629ea272965ea67201543c8b5538cbf09.tar.gz |
avcodec/encode: Enable encoders to control padding of last frame
Some audio codecs work with atomic units that decode to a fixed
number of audio samples with this number being so small that it is
common to put multiple of these atoms into one packet. In these
cases it makes no sense to pad the last frame to the big frame_size,
so allow encoders to set the number of samples that they want
the last frame to be padded to instead.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/snowenc.c')
0 files changed, 0 insertions, 0 deletions