comparison vp3.c @ 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
comparison
equal deleted inserted replaced
7968:5ed5f94b9a97 7969:47a22f0850a7
810 int prior_last_motion_y = 0; 810 int prior_last_motion_y = 0;
811 int current_macroblock; 811 int current_macroblock;
812 int current_fragment; 812 int current_fragment;
813 813
814 if (s->keyframe) { 814 if (s->keyframe) {
815 return 0;
815 } else { 816 } else {
816 memset(motion_x, 0, 6 * sizeof(int)); 817 memset(motion_x, 0, 6 * sizeof(int));
817 memset(motion_y, 0, 6 * sizeof(int)); 818 memset(motion_y, 0, 6 * sizeof(int));
818 819
819 /* coding mode 0 is the VLC scheme; 1 is the fixed code scheme */ 820 /* coding mode 0 is the VLC scheme; 1 is the fixed code scheme */