projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix clippy warnings
[nihav.git]
/
nihav-qt
/
src
/
codecs
/
qdm2qmf.rs
diff --git
a/nihav-qt/src/codecs/qdm2qmf.rs
b/nihav-qt/src/codecs/qdm2qmf.rs
index 214f7af697ae737012e2643f9c34e30c2d9f3750..d8cafa24910221c03e10c26da740e41403c3a83d 100644
(file)
--- a/
nihav-qt/src/codecs/qdm2qmf.rs
+++ b/
nihav-qt/src/codecs/qdm2qmf.rs
@@
-359,7
+359,7
@@
unimplemented!();
}
q = q.wrapping_sub(self.grid_3_quant[ch][band - 4]);
}
- self.tone_idx[ch][band][i] = q
as i8
;
+ self.tone_idx[ch][band][i] = q;
if q > 0 || (self.is_intra && q == 0) {
self.tone_scale[ch][band][i] = TONE_SCALES[0][(q & 0x3F) as usize];
} else {