From 10f38380be34021503cbe2275c8861581dcc3ca8 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Wed, 1 Oct 2008 14:48:35 +0000 Subject: [PATCH] Unneeded else Originally committed as revision 15504 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp3.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 1813af085b..cbb71d77ed 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -813,7 +813,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb) if (s->keyframe) return 0; - else { + memset(motion_x, 0, 6 * sizeof(int)); memset(motion_y, 0, 6 * sizeof(int)); @@ -960,7 +960,6 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb) } } } - } return 0; }