diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-01-01 21:49:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-01-01 21:49:50 +0000 |
commit | 1ae2c5f2e7f3b74827f705811c87b22fd59bd0af (patch) | |
tree | 4d495d386cfdc3766dc730255fec1f1a8fbf5d3e | |
parent | 8e287af090d0ef65043f3b30573ead754375ff8f (diff) | |
download | ffmpeg-1ae2c5f2e7f3b74827f705811c87b22fd59bd0af.tar.gz |
fix indention of previous commit
Originally committed as revision 7396 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avio.c | 6 | ||||
-rw-r--r-- | libavformat/aviobuf.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index f2fe0e13c6..dc40384fc5 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -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; } diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 450b4cf11d..4a595e2e43 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -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; } |