aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sapenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-04 17:01:03 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-06 13:22:01 -0500
commitac3f8d317c5d1e78340b57ebd2b5c1317e175bc2 (patch)
tree3994bd897b623401282db8affa187cddc7a07de8 /libavformat/sapenc.c
parentc2c316158fb670f61abfa108cb940ba31264b0f8 (diff)
downloadffmpeg-ac3f8d317c5d1e78340b57ebd2b5c1317e175bc2.tar.gz
ape: calculate final packet size instead of guessing
Calculates based on total file size and wavetaillength from the header. Falls back to multiplying finalframeblocks by 8 instead of 4 so that it will at least be overestimating for 24-bit. Currently it can underestimate the final packet size, leading to decoding errors.
Diffstat (limited to 'libavformat/sapenc.c')
0 files changed, 0 insertions, 0 deletions