diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 738ae9fd25..b5daafcefb 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1859,7 +1859,7 @@ static int vp3_update_thread_context(AVCodecContext *dst, const AVCodecContext * ||s->width != s1->width ||s->height!= s1->height) { if (s != s1) - copy_fields(s, s1, golden_frame, current_frame); + copy_fields(s, s1, golden_frame, keyframe); return -1; }