Return if unpacking motion vectors for a keyframe
Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user