Mercurial > libavformat.hg
changeset 1613:387dc458ba37 libavformat
fix indention of previous commit
author | michael |
---|---|
date | Mon, 01 Jan 2007 21:49:50 +0000 |
parents | a6eaa0762191 |
children | 72b0e694b2b7 |
files | avio.c aviobuf.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/avio.c Mon Jan 01 21:49:09 2007 +0000 +++ b/avio.c Mon Jan 01 21:49:50 2007 +0000 @@ -150,9 +150,9 @@ 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; }
--- a/aviobuf.c Mon Jan 01 21:49:09 2007 +0000 +++ b/aviobuf.c Mon Jan 01 21:49:50 2007 +0000 @@ -172,8 +172,8 @@ 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; }