aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/vcodec.mak
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-16 14:07:04 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-10-17 09:59:13 -0400
commitabd8b9e7e05be481163624a9b0b1a572757e5633 (patch)
treeecefe655b7fa8c2015d4020a10e65fbe447f37c7 /tests/fate/vcodec.mak
parentc75848cd4c0961f8cfa9dbbce6c8c12641aa5124 (diff)
downloadffmpeg-abd8b9e7e05be481163624a9b0b1a572757e5633.tar.gz
libmp3lame: resize the output buffer if needed
The LAME API documentation for the required buffer size refers to the size for a single encode call. However, we store multiple frames in the same output buffer but only read 1 frame at a time out of it. As a result, the buffer size given in lame_encode_buffer() is actually smaller than what it should be. Since we do not know how many frames it will end up buffering, it is best to just reallocate if needed.
Diffstat (limited to 'tests/fate/vcodec.mak')
0 files changed, 0 insertions, 0 deletions