Mercurial > libavcodec.hg
comparison vp3.c @ 7971:2d93e4e1358b libavcodec
Unneeded else
author | conrad |
---|---|
date | Wed, 01 Oct 2008 14:48:35 +0000 |
parents | b579f2f9919b |
children | 6cf217dad67d |
comparison
equal
deleted
inserted
replaced
7970:b579f2f9919b | 7971:2d93e4e1358b |
---|---|
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 return 0; |
816 else { | 816 |
817 memset(motion_x, 0, 6 * sizeof(int)); | 817 memset(motion_x, 0, 6 * sizeof(int)); |
818 memset(motion_y, 0, 6 * sizeof(int)); | 818 memset(motion_y, 0, 6 * sizeof(int)); |
819 | 819 |
820 /* 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 */ |
821 coding_mode = get_bits1(gb); | 821 coding_mode = get_bits1(gb); |
958 s->all_fragments[current_fragment].motion_x = motion_x[k]; | 958 s->all_fragments[current_fragment].motion_x = motion_x[k]; |
959 s->all_fragments[current_fragment].motion_y = motion_y[k]; | 959 s->all_fragments[current_fragment].motion_y = motion_y[k]; |
960 } | 960 } |
961 } | 961 } |
962 } | 962 } |
963 } | |
964 | 963 |
965 return 0; | 964 return 0; |
966 } | 965 } |
967 | 966 |
968 /* | 967 /* |