mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: indeo4: expand allowed quantiser range configure: icl: Merge -Qdiag-error parameters Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
0c2f673ed2
2
configure
vendored
2
configure
vendored
@ -2930,7 +2930,7 @@ probe_cc(){
|
||||
_ld_lib='lib%.a'
|
||||
_ld_path='-libpath:'
|
||||
# -Qdiag-error to make icl error when presented with certain unknown arguments
|
||||
_flags='-nologo -Qdiag-error:10157 -Qdiag-error:4044'
|
||||
_flags='-nologo -Qdiag-error:4044,10157'
|
||||
# -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency with msvc which enables it by default
|
||||
_cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS'
|
||||
if [ $pfx = hostcc ]; then
|
||||
|
@ -425,7 +425,11 @@ static int ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile
|
||||
cbp = mb->cbp;
|
||||
buf_offs = mb->buf_offs;
|
||||
|
||||
quant = av_clip(band->glob_quant + mb->q_delta, 0, 23);
|
||||
quant = band->glob_quant + mb->q_delta;
|
||||
if (avctx->codec_id == AV_CODEC_ID_INDEO4)
|
||||
quant = av_clip(quant, 0, 31);
|
||||
else
|
||||
quant = av_clip(quant, 0, 23);
|
||||
|
||||
base_tab = is_intra ? band->intra_base : band->inter_base;
|
||||
scale_tab = is_intra ? band->intra_scale : band->inter_scale;
|
||||
|
Loading…
Reference in New Issue
Block a user