shithub: opus

Download patch

ref: e12df85a62598c7acbee84f13602f82eb6d39734
parent: d8b1fd4ad0233fc69a58ac6f91e1d154f22c481b
author: Roman Kalashnikov <[email protected]>
date: Mon Oct 30 14:23:38 EDT 2017

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 <[email protected]>

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1454,7 +1454,7 @@
       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;
    }