diff options
author | David Conrad <lessen42@gmail.com> | 2008-10-01 14:48:00 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2008-10-01 14:48:00 +0000 |
commit | 6298f49f75e77edf103bc92a820a8a3f2730a42b (patch) | |
tree | c540877e74a8942405400a9c2a0344dcec312247 /libavcodec/vp3.c | |
parent | a0ce2d1bbc37168c42ae0673c5975ac7b03f4d75 (diff) | |
download | ffmpeg-6298f49f75e77edf103bc92a820a8a3f2730a42b.tar.gz |
Return if unpacking motion vectors for a keyframe
Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |