Commit bb658c1f authored by Raphaël Zumer's avatar Raphaël Zumer

Fix incorrect use of mutably borrowed object

parent d9158388
......@@ -3040,7 +3040,7 @@ impl ContextWriter {
}
}
RestorationFilter::Sgrproj{set, xqd} => {
match rs.plane[pli].lrf_type {
match rp.lrf_type {
RESTORE_SGRPROJ => {
symbol_with_update!(self, w, 1, &mut self.fc.lrf_sgrproj_cdf);
}
......@@ -3071,7 +3071,7 @@ impl ContextWriter {
}
}
RestorationFilter::Wiener{coeffs} => {
match rs.plane[pli].lrf_type {
match rp.lrf_type {
RESTORE_WIENER => {
symbol_with_update!(self, w, 1, &mut self.fc.lrf_wiener_cdf);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment