diff options
author | Alex Mogurenko <alex@mogurenko.com> | 2018-12-28 22:30:08 +0200 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2018-12-30 11:24:39 -0500 |
commit | e4788ae31b2e9af45d11f4bf4498c075dcc25a6c (patch) | |
tree | 4c4b03664faf73eada0c1f2b81cef81c45f289e1 /libavfilter/af_afir.c | |
parent | a53a9f1c8d1ffad80956027ffee5f506c98f28ff (diff) | |
download | ffmpeg-e4788ae31b2e9af45d11f4bf4498c075dcc25a6c.tar.gz |
avcodec/prores_ks: Fix luma quantization if q >= MAX_STORED_Q
The problem occurs in slice quant estimation and slice encoding:
If the slice quant is larger than MAX_STORED_Q we don't use pre-calculated
quant matrices, but generate a new one, but both qmat and qmat_chroma both
point to the same table, so the luma table ends up having chroma table
values.
Add custom_chroma_q the same way as custom_q.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavfilter/af_afir.c')
0 files changed, 0 insertions, 0 deletions