]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
fix indention of previous commit
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 1 Jan 2007 21:49:50 +0000 (21:49 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 1 Jan 2007 21:49:50 +0000 (21:49 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7396 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/avio.c
libavformat/aviobuf.c

index f2fe0e13c681b114fc23b496a98c861617d4946c..dc40384fc504588116593e693e5b6b57ea7726ee 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 450b4cf11d3bace688859b11e928d832968e958f..4a595e2e437bc8b00002ca2438d7aa235044309b 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;
 }