return properly after extending file

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Kevin P. Fleming 20 years ago
parent e234ad0011
commit cf293c224d

@ -207,6 +207,7 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
return res; return res;
left -= res; left -= res;
} }
return offset;
} }
/* fall through */ /* fall through */
default: default:

@ -282,6 +282,7 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
return res; return res;
left -= res; left -= res;
} }
return offset;
} }
/* fall through */ /* fall through */
default: default:

Loading…
Cancel
Save