mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-01 22:49:21 +00:00
fix indention of previous commit
Originally committed as revision 7396 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8e287af090
commit
1ae2c5f2e7
@ -150,9 +150,9 @@ offset_t url_filesize(URLContext *h)
|
|||||||
|
|
||||||
size= url_seek(h, 0, AVSEEK_SIZE);
|
size= url_seek(h, 0, AVSEEK_SIZE);
|
||||||
if(size<0){
|
if(size<0){
|
||||||
pos = url_seek(h, 0, SEEK_CUR);
|
pos = url_seek(h, 0, SEEK_CUR);
|
||||||
size = url_seek(h, -1, SEEK_END)+1;
|
size = url_seek(h, -1, SEEK_END)+1;
|
||||||
url_seek(h, pos, SEEK_SET);
|
url_seek(h, pos, SEEK_SET);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
@ -172,8 +172,8 @@ offset_t url_fsize(ByteIOContext *s)
|
|||||||
return -EPIPE;
|
return -EPIPE;
|
||||||
size = s->seek(s->opaque, 0, AVSEEK_SIZE);
|
size = s->seek(s->opaque, 0, AVSEEK_SIZE);
|
||||||
if(size<0){
|
if(size<0){
|
||||||
size = s->seek(s->opaque, -1, SEEK_END) + 1;
|
size = s->seek(s->opaque, -1, SEEK_END) + 1;
|
||||||
s->seek(s->opaque, s->pos, SEEK_SET);
|
s->seek(s->opaque, s->pos, SEEK_SET);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user