diff options
author | Marton Balint <cus@passwd.hu> | 2025-01-06 23:08:32 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2025-01-25 20:10:41 +0100 |
commit | ec4d3dc5b90f0e5b4e931667fd9c9c6944da40fa (patch) | |
tree | 02d164f12d25c060d19a46b8d2b90f621130edc5 /libavcodec/tests/rangecoder.c | |
parent | ed26812337b397e602e68dae5c39b20b8b599565 (diff) | |
download | ffmpeg-ec4d3dc5b90f0e5b4e931667fd9c9c6944da40fa.tar.gz |
avcodec/mpegvideo_enc: use 64bit multiplication in dct_quantize_trellis_c and dct_quantize_c
Fixes corruption with:
ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -cpuflags 0 out.mpg
or
ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -trellis 1 out.mpg
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/tests/rangecoder.c')
0 files changed, 0 insertions, 0 deletions