Module: libav
Branch: master
Commit: 0bf511d579c7b21f1244eec688abf571ca1235bd

Author:    Sami Pietila <[email protected]>
Committer: Ronald S. Bultje <[email protected]>
Date:      Fri Oct 12 07:12:49 2012 -0700

vp8: reset loopfilter delta values at keyframes.

Signed-off-by: Ronald S. Bultje <[email protected]>

---

 libavcodec/vp8.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index e365877..2766c9e 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -353,6 +353,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));
     }
 
     ff_vp56_init_range_decoder(c, buf, header_size);

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to