Commit fed3d793 authored by conrad's avatar conrad

Return if unpacking motion vectors for a keyframe

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15502 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fd33ded2
...@@ -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