summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kalashnikov <lunix0x@gmail.com>2017-10-30 18:23:38 +0300
committerRalph Giles <giles@thaumas.net>2017-10-30 13:44:07 -0700
commite12df85a62598c7acbee84f13602f82eb6d39734 (patch)
tree081aad078bafdd146a3272e67142182386b514b6
parentd8b1fd4ad0233fc69a58ac6f91e1d154f22c481b (diff)
downloadopus-e12df85a62598c7acbee84f13602f82eb6d39734.tar.gz
Fix unnecessary assignment.
Fixes a warning from PVS-Studio. This was a cut-and-paste error from the stanza above and had no effect. Signed-off-by: Ralph Giles <giles@thaumas.net>
-rw-r--r--celt/celt_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c
index 053e5a3b..cb415a6b 100644
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1454,7 +1454,7 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm,
tell0_frac=tell=1;
nbFilledBytes=0;
} else {
- tell0_frac=tell=ec_tell_frac(enc);
+ tell0_frac=ec_tell_frac(enc);
tell=ec_tell(enc);
nbFilledBytes=(tell+4)>>3;
}