summaryrefslogtreecommitdiff
path: root/libavcodec/bit_depth_template.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-01-24 20:47:49 +0100
committerPaul B Mahol <onemda@gmail.com>2016-01-24 21:54:13 +0100
commit3e7d6849120d61bb354376d52786c26f20e20835 (patch)
treefe33db9e32aacac978280e0fbaa512b835e0106e /libavcodec/bit_depth_template.c
parentce36cb08ed46ae03cb2286b3f8d107e3eaa6a625 (diff)
downloadffmpeg-3e7d6849120d61bb354376d52786c26f20e20835.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>
Diffstat (limited to 'libavcodec/bit_depth_template.c')
0 files changed, 0 insertions, 0 deletions