]> git.sesse.net Git - ffmpeg/commitdiff
Unneeded else
authorDavid Conrad <lessen42@gmail.com>
Wed, 1 Oct 2008 14:48:35 +0000 (14:48 +0000)
committerDavid Conrad <lessen42@gmail.com>
Wed, 1 Oct 2008 14:48:35 +0000 (14:48 +0000)
Originally committed as revision 15504 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp3.c

index 1813af085b0d013e37c4ecc9baf1643d6892724d..cbb71d77eded9f0010fc36ceb5c068136d4ada01 100644 (file)
@@ -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;
 }