diff options
author | Paul B Mahol <[email protected]> | 2016-01-24 20:47:49 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2016-01-31 00:23:46 +0100 |
commit | d8b37664d524251ac524c780c0f978fb48ce4b2d (patch) | |
tree | 052b688931877c6803da20d27f1f3e8bedcf8400 /libavutil/opt.c | |
parent | 41f97fe378e3d2b79feaa1460e85865edafe08f9 (diff) |
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 <[email protected]>
Signed-off-by: Paul B Mahol <[email protected]>
(cherry picked from commit 3e7d6849120d61bb354376d52786c26f20e20835)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavutil/opt.c')
0 files changed, 0 insertions, 0 deletions