diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-01-24 20:47:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-31 00:23:46 +0100 |
commit | d8b37664d524251ac524c780c0f978fb48ce4b2d (patch) | |
tree | 052b688931877c6803da20d27f1f3e8bedcf8400 /presets | |
parent | 41f97fe378e3d2b79feaa1460e85865edafe08f9 (diff) | |
download | ffmpeg-d8b37664d524251ac524c780c0f978fb48ce4b2d.tar.gz |
avcodec/flacenc: fix calculation of bits required in case of custom sample rate
Sample rate of 11025 takes 16 bits but previous code would pick only 8.
Fixes assertion failure.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit 3e7d6849120d61bb354376d52786c26f20e20835)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'presets')
0 files changed, 0 insertions, 0 deletions