diff options
author | Sami Pietila <[email protected]> | 2012-10-12 07:12:49 -0700 |
---|---|---|
committer | Reinhard Tartler <[email protected]> | 2013-01-12 19:20:27 +0100 |
commit | bfbff1c7483cd423ef7e0618cd67adf7d988376a (patch) | |
tree | d04f8024eb1d7d828902af08badc6783354d6318 | |
parent | 7fd7950174f9f2935fbf5bf1435fd0dc37be5c61 (diff) |
vp8: reset loopfilter delta values at keyframes.
Signed-off-by: Ronald S. Bultje <[email protected]>
(cherry picked from commit 0bf511d579c7b21f1244eec688abf571ca1235bd)
Signed-off-by: Reinhard Tartler <[email protected]>
-rw-r--r-- | libavcodec/vp8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 7e82bbbe82..e00389a4ba 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -269,6 +269,7 @@ static int decode_frame_header(VP8Context *s, const uint8_t *buf, int buf_size) memcpy(s->prob->pred8x8c , vp8_pred8x8c_prob_inter , sizeof(s->prob->pred8x8c)); memcpy(s->prob->mvc , vp8_mv_default_prob , sizeof(s->prob->mvc)); memset(&s->segmentation, 0, sizeof(s->segmentation)); + memset(&s->lf_delta, 0, sizeof(s->lf_delta)); } if (!s->macroblocks_base || /* first frame */ |