Return if unpacking motion vectors for a keyframe

Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
David Conrad 17 years ago
parent a0ce2d1bbc
commit 6298f49f75
  1. 1
      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));

Loading…
Cancel
Save