You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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:
@@ -1814,7 +1814,7 @@ redo_frame:
|
||||
if(s->qlog == LOSSLESS_QLOG){
|
||||
for(y=0; y<h; y++){
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user