fix indention of previous commit
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Jan 2007 21:49:50 +0000 (21:49 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Jan 2007 21:49:50 +0000 (21:49 +0000)
Originally committed as revision 7396 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avio.c
libavformat/aviobuf.c

index f2fe0e1..dc40384 100644 (file)
@@ -150,9 +150,9 @@ offset_t url_filesize(URLContext *h)
 
     size= url_seek(h, 0, AVSEEK_SIZE);
     if(size<0){
-    pos = url_seek(h, 0, SEEK_CUR);
-    size = url_seek(h, -1, SEEK_END)+1;
-    url_seek(h, pos, SEEK_SET);
+        pos = url_seek(h, 0, SEEK_CUR);
+        size = url_seek(h, -1, SEEK_END)+1;
+        url_seek(h, pos, SEEK_SET);
     }
     return size;
 }
index 450b4cf..4a595e2 100644 (file)
@@ -172,8 +172,8 @@ offset_t url_fsize(ByteIOContext *s)
         return -EPIPE;
     size = s->seek(s->opaque, 0, AVSEEK_SIZE);
     if(size<0){
-    size = s->seek(s->opaque, -1, SEEK_END) + 1;
-    s->seek(s->opaque, s->pos, SEEK_SET);
+        size = s->seek(s->opaque, -1, SEEK_END) + 1;
+        s->seek(s->opaque, s->pos, SEEK_SET);
     }
     return size;
 }