[FFmpeg-cvslog] vp8: reset loopfilter delta values at keyframes.

Sami Pietila git at videolan.org
Thu Jan 17 03:09:32 CET 2013


ffmpeg | branch: release/0.8 | Sami Pietila <samipietila at google.com> | Fri Oct 12 07:12:49 2012 -0700| [bfbff1c7483cd423ef7e0618cd67adf7d988376a] | committer: Reinhard Tartler

vp8: reset loopfilter delta values at keyframes.

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

(cherry picked from commit 0bf511d579c7b21f1244eec688abf571ca1235bd)

Signed-off-by: Reinhard Tartler <siretart at tauware.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bfbff1c7483cd423ef7e0618cd67adf7d988376a
---

 libavcodec/vp8.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index 7e82bbb..e00389a 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 */



More information about the ffmpeg-cvslog mailing list