Browse Source

Return if unpacking motion vectors for a keyframe

Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David Conrad 17 years ago
parent
commit
6298f49f75
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/vp3.c

+ 1
- 0
libavcodec/vp3.c View File

@@ -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