mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +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;
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user