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> (cherry picked from commit 3e7d6849) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
Showing
Please
register
or
sign in
to comment