Commit 6298f49f authored by David Conrad's avatar David Conrad

Return if unpacking motion vectors for a keyframe

Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a0ce2d1b
...@@ -812,6 +812,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb) ...@@ -812,6 +812,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb)
int current_fragment; int current_fragment;
if (s->keyframe) { if (s->keyframe) {
return 0;
} else { } else {
memset(motion_x, 0, 6 * sizeof(int)); memset(motion_x, 0, 6 * sizeof(int));
memset(motion_y, 0, 6 * sizeof(int)); memset(motion_y, 0, 6 * sizeof(int));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment