changeset 7969:47a22f0850a7 libavcodec

Return if unpacking motion vectors for a keyframe
author conrad
date Wed, 01 Oct 2008 14:48:00 +0000
parents 5ed5f94b9a97
children b579f2f9919b
files vp3.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vp3.c	Wed Oct 01 14:44:30 2008 +0000
+++ b/vp3.c	Wed Oct 01 14:48:00 2008 +0000
@@ -812,6 +812,7 @@
     int current_fragment;
 
     if (s->keyframe) {
+        return 0;
     } else {
         memset(motion_x, 0, 6 * sizeof(int));
         memset(motion_y, 0, 6 * sizeof(int));