mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avocdec/snowenc: Fix left shift of negative number
Fixes the vsynth(1|2|_lena)-snow-ll FATE-tests. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
59cb0bd23d
commit
2664b39d54
@ -1814,7 +1814,7 @@ redo_frame:
|
|||||||
if(s->qlog == LOSSLESS_QLOG){
|
if(s->qlog == LOSSLESS_QLOG){
|
||||||
for(y=0; y<h; y++){
|
for(y=0; y<h; y++){
|
||||||
for(x=0; x<w; x++){
|
for(x=0; x<w; x++){
|
||||||
s->spatial_idwt_buffer[y*w + x]<<=FRAC_BITS;
|
s->spatial_idwt_buffer[y*w + x] *= 1 << FRAC_BITS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user