diff options
author | Paul B Mahol <[email protected]> | 2016-01-24 20:47:49 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2016-01-31 00:24:52 +0100 |
commit | d7c0287fbdac7d52f441f2017c55f5e0483c077e (patch) | |
tree | b4425d562ee051d1c1c718707d60cc63a91cb550 /doc/examples/scaling_video.c | |
parent | 7bcf142c02e0b3f462b61a1377e963c6366597e7 (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 'doc/examples/scaling_video.c')
0 files changed, 0 insertions, 0 deletions