summaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000dec.c
diff options
context:
space:
mode:
authorPaul B Mahol <[email protected]>2016-01-24 20:47:49 +0100
committerMichael Niedermayer <[email protected]>2016-01-28 15:53:54 +0100
commit0dc379cfa66db7684339ef9e6c0bd8aaba64c06a (patch)
tree3bc61d450f4e8909c26ee8194a0adbabf1f9c9a3 /libavcodec/jpeg2000dec.c
parentb432d883e62386c9f07ce39b8a6916a644d4aba9 (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 'libavcodec/jpeg2000dec.c')
0 files changed, 0 insertions, 0 deletions