mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-16 04:11:12 +00:00
avcodec/wavarc: remove invalid shifts
This commit is contained in:
parent
0009348306
commit
3b3a321fed
@ -226,7 +226,7 @@ static int decode_1dif(AVCodecContext *avctx,
|
||||
|
||||
if (avctx->ch_layout.nb_channels == 1) {
|
||||
for (int n = 0; n < 4; n++)
|
||||
s->samples[0][n] = s->samples[0][s->nb_samples + n] >> s->shift;
|
||||
s->samples[0][n] = s->samples[0][s->nb_samples + n];
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -334,7 +334,7 @@ static int decode_2slp(AVCodecContext *avctx,
|
||||
|
||||
if (avctx->ch_layout.nb_channels == 1) {
|
||||
for (int n = 0; n < 70; n++)
|
||||
s->samples[0][n] = s->samples[0][s->nb_samples + n] >> s->shift;
|
||||
s->samples[0][n] = s->samples[0][s->nb_samples + n];
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user