fix stupid tabs
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jun 2009 18:52:22 +0000 (18:52 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jun 2009 18:52:22 +0000 (18:52 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@222 2bbb7eff-a529-9590-31e7-b0007b416f81

src/images/SkMovie_gif.cpp

index 253c242499551a1a712f0ae408e14a976cfefb60..68af85a94bc5c4b1b1ad4f200ee6c83d73fd2a50 100644 (file)
@@ -218,9 +218,8 @@ SkMovie* Factory(SkStream* stream) {
     char buf[GIF_STAMP_LEN];
     if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) {
         if (memcmp(GIF_STAMP,   buf, GIF_STAMP_LEN) == 0 ||
-                       memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 ||
-                       memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) {
-            stream->rewind();
+                memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 ||
+                memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) {
             return SkNEW_ARGS(SkGIFMovie, (stream));
         }
     }