diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-02-06 20:28:01 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-02-06 20:29:44 +0100 |
commit | 3b3a321fed016665b602e50de993f96fa59ece30 (patch) | |
tree | 387d867dc925fff3148e7bbdeab2c0590bd5a09c | |
parent | 000934830620c03be55644e054f9ffaaadac2a0a (diff) | |
download | ffmpeg-3b3a321fed016665b602e50de993f96fa59ece30.tar.gz |
avcodec/wavarc: remove invalid shifts
-rw-r--r-- | libavcodec/wavarc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wavarc.c b/libavcodec/wavarc.c index 20371b53de..956c52bfe9 100644 --- a/libavcodec/wavarc.c +++ b/libavcodec/wavarc.c @@ -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; |