summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorGeorge Boyle <george@thebuds.net>2015-06-16 08:25:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-06-16 12:55:20 +0200
commit2469ed32c81ebf2347e6883091c566724b286167 (patch)
tree0e7223cbbecb90eed46541d809b656fd42ce32d0 /libavformat
parent202188a26c1a860355894020fe7a29598b5bb9c9 (diff)
avcodec/flacenc: Fix Invalid Rice order
Fixes ticket #4628. The problem arose, in the sample file at least, in the last block where the minimum and maximum Rice partition orders were both 0. In that case, and any other where pmax == pmin, the original UINT32_MAX placeholder value for bits[opt_porder] was getting overwritten before the comparison to check if the current partition order is a new optimal, so the correct partition order and RiceContext params were not being set. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions