diff options
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index b2ebfd79d..5e920cc3b 100644 --- a/main/file.c +++ b/main/file.c @@ -911,7 +911,7 @@ int ast_streamfile(struct ast_channel *chan, const char *filename, const char *p * return the file had no data. */ seekattempt = fseek(fs->f, -1, SEEK_END); if (!seekattempt) - fseek(fs->f, 0, SEEK_SET); + ast_seekstream(fs, 0, SEEK_SET); else return 0; |