From 6298f49f75e77edf103bc92a820a8a3f2730a42b Mon Sep 17 00:00:00 2001 From: David Conrad Date: Wed, 1 Oct 2008 14:48:00 +0000 Subject: [PATCH] Return if unpacking motion vectors for a keyframe Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 625d832b27..712d7bbddb 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -812,6 +812,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb) int current_fragment; if (s->keyframe) { + return 0; } else { memset(motion_x, 0, 6 * sizeof(int)); memset(motion_y, 0, 6 * sizeof(int));