mirror of
https://github.com/mpv-player/mpv
synced 2025-02-08 16:07:16 +00:00
reindented after yesterday's commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21704 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c544612bb2
commit
e4876ebe46
@ -134,8 +134,8 @@ static int open_f (stream_t *stream, int mode, void *opts, int* file_format) {
|
|||||||
stream->flags = mode;
|
stream->flags = mode;
|
||||||
len = 0;
|
len = 0;
|
||||||
if(mode == STREAM_READ) {
|
if(mode == STREAM_READ) {
|
||||||
len = smbc_lseek(fd,0,SEEK_END);
|
len = smbc_lseek(fd,0,SEEK_END);
|
||||||
smbc_lseek (fd, 0, SEEK_SET);
|
smbc_lseek (fd, 0, SEEK_SET);
|
||||||
}
|
}
|
||||||
if(len > 0 || mode == STREAM_WRITE) {
|
if(len > 0 || mode == STREAM_WRITE) {
|
||||||
stream->flags |= STREAM_SEEK;
|
stream->flags |= STREAM_SEEK;
|
||||||
|
Loading…
Reference in New Issue
Block a user