Skip to content
Snippets Groups Projects
Commit 3e7d6849 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

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: default avatarRostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent ce36cb08
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment