mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
return properly after extending file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -207,6 +207,7 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
|
||||
return res;
|
||||
left -= res;
|
||||
}
|
||||
return offset;
|
||||
}
|
||||
/* fall through */
|
||||
default:
|
||||
|
@@ -282,6 +282,7 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
|
||||
return res;
|
||||
left -= res;
|
||||
}
|
||||
return offset;
|
||||
}
|
||||
/* fall through */
|
||||
default:
|
||||
|
Reference in New Issue
Block a user