aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 3e96b26a33..3ae8b89750 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -2813,7 +2813,7 @@ redo_frame:
}
}
s->avctx->error[plane_index] += error;
- s->avctx->error[3] += error;
+ s->current_picture.error[plane_index] = error;
}
}